struct

Obsctl::CLI::Options

Inherits Struct < Value < Object

Constructors

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)
Source

Instance methods

args
clone
Source
color
command
config_path
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)
Source
force
help
help_text
json
log_level
quiet
timeout
version