From 3f9ea7e56d8ea6b4c2092c73007a2110f4c21cc3 Mon Sep 17 00:00:00 2001 From: Superredstone Date: Fri, 13 Feb 2026 11:37:41 +0100 Subject: [PATCH] feat: improve cli usage --- main.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index bff3b97..bff82a7 100644 --- a/main.go +++ b/main.go @@ -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, }, },