class ModuleSync::CLI::Thor
Workaround some, still unfixed, Thor
behaviors
This class extends ::Thor class to
-
exit with status code sets to `1` on
Thor
failure (e.g. missing required option) -
exit with status code sets to `1` when user calls `msync` (or a subcommand) without required arguments
Public Class Methods
exit_on_failure?()
click to toggle source
# File lib/modulesync/cli/thor.rb, line 19 def self.exit_on_failure? true end
Public Instance Methods
_invalid_command_call()
click to toggle source
# File lib/modulesync/cli/thor.rb, line 13 def _invalid_command_call self.class.new.help exit 1 end