struct
Obsctl::CLI::Options
- Obsctl::CLI::Options
- Struct
- Value
- Object
Defined in:
obsctl/cli/options.crConstructors
Instance Method Summary
- #args : Array(String)
- #clone
- #color : ColorMode
- #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, version _version = @version, quiet _quiet = @quiet, color _color = @color, timeout _timeout = @timeout, help _help = @help, help_text _help_text = @help_text, command _command = @command, args _args = @args)
- #force : Bool
- #help : Bool
- #help_text : String
- #json : Bool
- #log_level : String
- #quiet : Bool
- #timeout : Time::Span | Nil
- #version : Bool
Constructor Detail
def self.new(config_path : String, log_level : String = "info", force : Bool = false, json : Bool = false, version : Bool = false, quiet : Bool = false, color : ColorMode = ColorMode::Auto, timeout : Time::Span | Nil = nil, help : Bool = false, help_text : String = "", 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, version _version = @version, quiet _quiet = @quiet, color _color = @color, timeout _timeout = @timeout, help _help = @help, help_text _help_text = @help_text, command _command = @command, args _args = @args)
#