Sha256: 85370243bc2924a2f41eaedce4a753747a107507331f7fbfb77afcbee9b3ade4
Contents?: true
Size: 825 Bytes
Versions: 3
Compression:
Stored size: 825 Bytes
Contents
require "rainbow" module CC module CLI class Help < Command def run say "Usage: codeclimate COMMAND ...\n\nAvailable commands:\n" commands.each do |command| say " #{command}" end end private def commands [ "analyze [-f format] [-e engine(:channel)] <path>", "console", "engines:disable #{underline("engine_name")}", "engines:enable #{underline("engine_name")}", "engines:install", "engines:list", "engines:remove #{underline("engine_name")}", "prepare", "help", "init", "validate-config", "version", ].freeze end def underline(string) Rainbow.new.wrap(string).underline end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
codeclimate-0.43.0 | lib/cc/cli/help.rb |
codeclimate-0.42.1 | lib/cc/cli/help.rb |
codeclimate-0.42.0 | lib/cc/cli/help.rb |