xtool.git
Publicgit clone https://git.maproj.org/xtool.gitxtool.git / Sources / XToolSupport / XTool+Version.swift
XTool+Version.swift9 lines · 216 BRaw
| 1 | import CXKit |
| 2 | import XCLIUtils |
| 3 | |
| 4 | extension XTool { |
| 5 | public static let version = CommandVersion( |
| 6 | version: String(cString: xtl_version()), |
| 7 | hasUncommittedChanges: xtl_has_uncommitted_changes(), |
| 8 | ) |
| 9 | } |