|
|
@ -18,12 +18,14 @@ import (
|
|
|
|
"strings"
|
|
|
|
"strings"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var AppVersion = "0.0.3"
|
|
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
func main() {
|
|
|
|
app := cli.App{
|
|
|
|
app := cli.App{
|
|
|
|
Name: "Unlock Music CLI",
|
|
|
|
Name: "Unlock Music CLI",
|
|
|
|
HelpName: "um",
|
|
|
|
HelpName: "um",
|
|
|
|
Usage: "Unlock your encrypted music file https://github.com/unlock-music/cli",
|
|
|
|
Usage: "Unlock your encrypted music file https://github.com/unlock-music/cli",
|
|
|
|
Version: "v0.0.1",
|
|
|
|
Version: AppVersion,
|
|
|
|
Flags: []cli.Flag{
|
|
|
|
Flags: []cli.Flag{
|
|
|
|
&cli.StringFlag{Name: "input", Aliases: []string{"i"}, Usage: "path to input file or dir", Required: true},
|
|
|
|
&cli.StringFlag{Name: "input", Aliases: []string{"i"}, Usage: "path to input file or dir", Required: true},
|
|
|
|
&cli.StringFlag{Name: "output", Aliases: []string{"o"}, Usage: "path to output dir", Required: true},
|
|
|
|
&cli.StringFlag{Name: "output", Aliases: []string{"o"}, Usage: "path to output dir", Required: true},
|
|
|
|