lib/git_trend/cli.rb in git-trend-0.0.6 vs lib/git_trend/cli.rb in git-trend-0.0.7

- old
+ new

@@ -12,13 +12,13 @@ desc :version, 'show version' def version say "git-trend version: #{VERSION}", :green end - desc :list, 'List Trending repository on github (default command)' - option :language, aliases:'-l', required: false - option :since, aliases:'-s', required: false - option :description, aliases:'-d', required: false + desc :list, "\033[32m(DEFAULT COMMAND)\e[0m List Trending repository on github [-l, -s, -d]" + option :language, aliases: '-l', required: false + option :since, aliases: '-s', required: false + option :description, aliases: '-d', required: false def list scraper = Scraper.new projects = scraper.get(options[:language], options[:since]) render(projects, !!options[:description]) rescue => e