Class: Mrsk::Cli::Base

Inherits:
Thor
  • Object
show all
Includes:
SSHKit::DSL
Defined in:
lib/mrsk/cli/base.rb

Direct Known Subclasses

Accessory, App, Build, Healthcheck, Lock, Main, Prune, Registry, Server, Traefik

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



25
26
27
28
29
# File 'lib/mrsk/cli/base.rb', line 25

def initialize(*)
  super
  load_envs
  initialize_commander(options_with_subcommand_class_options)
end

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


9
# File 'lib/mrsk/cli/base.rb', line 9

def self.exit_on_failure?() true end