diff --git a/src/bottle/cli.cr b/src/bottle/cli.cr index 8e91b16..532c88a 100755 --- a/src/bottle/cli.cr +++ b/src/bottle/cli.cr @@ -34,21 +34,27 @@ class CLI def help msg = <<-EOP - #{Style.bold "Usage: irs [-h] [-v] [-i] [-s -a ]"} + #{Style.bold "Usage: irs [--help] [--version] [--install]"} + #{Style.bold " [-s -a ]"} + #{Style.bold " [-A -a ]"} + #{Style.bold " [-p -a ]"} #{Style.bold "Arguments:"} - #{Style.blue "-h, --help"} Show this help message and exit - #{Style.blue "-v, --version"} Show the program version and exit - #{Style.blue "-i, --install"} Download ffmpeg and youtube_dl binaries to #{Style.green Config.binary_location} - #{Style.blue "-a, --artist "} Specify artist name for downloading - #{Style.blue "-s, --song "} Specify song name to download - #{Style.blue "-A, --album "} Specify artist name for downloading + #{Style.blue "-s, --song "} Specify song name to download + #{Style.blue "-A, --album "} Specify the album name to download + #{Style.blue "-p, --playlist "} Specify the playlist name to download #{Style.bold "Examples:"} $ #{Style.green %(irs --song "Bohemian Rhapsody" --artist "Queen")} #{Style.dim %(# => downloads the song "Bohemian Rhapsody" by "Queen")} $ #{Style.green %(irs --album "Demon Days" --artist "Gorillaz")} #{Style.dim %(# => downloads the album "Demon Days" by "Gorillaz")} + $ #{Style.green %(irs --playlist "a different drummer" --artist "prakkillian")} + #{Style.dim %(# => downloads the playlist "a different drummer" by the user prakkillian)} #{Style.bold "This project is licensed under the MIT license."} #{Style.bold "Project page: "}