struct Obsctl::CLI::Options

Defined in:

obsctl/cli/options.cr

Constructors

Instance Method Summary

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

[View source]

Instance Method Detail

def args : Array(String) #

def clone #

[View source]
def command : String | Nil #

def config_path : String #

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

[View source]
def force : Bool #

def json : Bool #

def log_level : String #