mirror of
https://github.com/Luzifer/ots.git
synced 2025-07-22 06:08:51 -04:00
[#159] Add version-command for ots-cli
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
47a7a686ef
commit
f2a7af30b2
2 changed files with 21 additions and 0 deletions
|
@ -4,6 +4,8 @@ import (
|
|||
"os"
|
||||
)
|
||||
|
||||
var version = "dev"
|
||||
|
||||
func main() {
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
os.Exit(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue