lib/command/no_command.rb in cpflow-3.0.1 vs lib/command/no_command.rb in cpflow-4.0.0
- old
+ new
@@ -12,12 +12,12 @@
WITH_INFO_HEADER = false
VALIDATIONS = [].freeze
def call
if config.options[:version]
- Cpflow::Cli.start(["version"])
+ run_cpflow_command("version")
else
- Cpflow::Cli.start(["help"])
+ run_cpflow_command("help")
end
end
end
end