class

Sellia::CLI::Config

Inherits YAML::Serializable / Reference / Object

Constructors

load

Load config from standard paths with merging

Source
new(server : String = "https://sellia.me", api_key : String | Nil = nil, inspector : Inspector = Inspector.new, tunnels : Hash(String, TunnelConfig) = {} of String => TunnelConfig)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

api_key
Source
api_key=(api_key : String | Nil)
Source
inspector
Source
inspector=(inspector : Inspector)
Source
merge(other : Config) : Config
Source
server
Source
server=(server : String)
Source
tunnels
Source
tunnels=(tunnels : Hash(String, TunnelConfig))
Source

Nested types