feat: version
This commit is contained in:
parent
1b1862cb3f
commit
45e42ce4ff
2 changed files with 15 additions and 10 deletions
2
main.go
2
main.go
|
@ -18,6 +18,8 @@ func main() {
|
|||
convertLyrics(os.Args[2:])
|
||||
case "fmt":
|
||||
fmtLyrics(os.Args[2:])
|
||||
case "version":
|
||||
fmt.Printf("lyc-cli version %s\n", VERSION)
|
||||
case "help":
|
||||
fmt.Println(USAGE)
|
||||
default:
|
||||
|
|
Reference in a new issue