lib/cc/cli/engines/remove.rb in codeclimate-0.45.0 vs lib/cc/cli/engines/remove.rb in codeclimate-0.46.0
- old
+ new
@@ -2,9 +2,15 @@
module CC
module CLI
module Engines
class Remove < EngineCommand
+ ARGUMENT_LIST = "<engine_name>".freeze
+ SHORT_HELP = "Remove an engine from your codeclimate.yml.".freeze
+ HELP = "#{SHORT_HELP} This command deletes the config rather than setting it to disabled.\n" \
+ "\n"\
+ " <engine_name> Engine to remove from your codeclimate.yml".freeze
+
def run
require_codeclimate_yml
if !engine_exists?
say "Engine not found. Run 'codeclimate engines:list' for a list of valid engines."