struct
Obsctl::CLI::Options
- Obsctl::CLI::Options
- Struct
- Value
- Object
Defined in:
obsctl/cli/options.crConstructors
Instance Method Summary
- #args : Array(String)
- #clone
- #command : String | Nil
- #config_path : String
- #copy_with(config_path _config_path = @config_path, log_level _log_level = @log_level, force _force = @force, json _json = @json, command _command = @command, args _args = @args)
- #force : Bool
- #json : Bool
- #log_level : String
Constructor Detail
def self.new(config_path : String, log_level : String = "info", force : Bool = false, json : Bool = false, command : String | Nil = nil, args : Array(String) = [] of String)
#
Instance Method Detail
def copy_with(config_path _config_path = @config_path, log_level _log_level = @log_level, force _force = @force, json _json = @json, command _command = @command, args _args = @args)
#