mirror of
https://github.com/Superredstone/spotiflac-cli.git
synced 2026-11-19 04:01:15 +01:00
feat: improve cli usage
This commit is contained in:
1 parent
a2968e1055
commit
3f9ea7e56d
1 file changed
+6
-4
@@ -16,8 +16,10 @@ func main() {
|
||||
application := app.NewApp()
|
||||
|
||||
cmd := &cli.Command{
|
||||
Name: "spotiflac-cli",
|
||||
Name: "spotiflac-cli",
|
||||
EnableShellCompletion: true,
|
||||
DefaultCommand: "help",
|
||||
Usage: "Spotify downloader with playlist sync in mind.",
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "download",
|
||||
@@ -26,9 +28,9 @@ func main() {
|
||||
Destination: &song_url,
|
||||
},
|
||||
&cli.StringFlag{
|
||||
Name: "output",
|
||||
Aliases: []string{"o"},
|
||||
Usage: "set output folder",
|
||||
Name: "output",
|
||||
Aliases: []string{"o"},
|
||||
Usage: "set output folder",
|
||||
Destination: &output_folder,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user