class PutIO::CLI::Config

Defined in:

put-io/cli/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(configfile : Path | String | Nil, *, profile : Nil | String = nil, verbose : Bool, putio : Nil | PutIO, io : IO, output_format : PutIO::CLI::OutputFormat, output_file : Path | Nil) #

[View source]

Instance Method Detail

def [](profile : String) #

[View source]
def []?(profile : String) #

[View source]
def aliases : Hash(String, String) #

[View source]
def aliases=(aliases : Hash(String, String)) #

[View source]
def app_id(profile : String | Nil = @profile) #

[View source]
def app_id?(profile : String | Nil = @profile) #

[View source]
def application_secret(profile : String | Nil = @profile) #

[View source]
def application_secret?(profile : String | Nil = @profile) #

[View source]
def configfile : Path #

[View source]
def configfile=(configfile : Path) #

[View source]
def io : IO #

[View source]
def io=(io : IO) #

[View source]
def output_file : Path | Nil #

[View source]
def output_file=(output_file : Path | Nil) #

[View source]
def output_format : PutIO::CLI::OutputFormat #

[View source]
def output_format=(output_format : PutIO::CLI::OutputFormat) #

[View source]
def profile : String | Nil #

[View source]
def profile=(profile : String | Nil) #

[View source]
def profiles : Hash(String, Profile | String) #

[View source]
def profiles=(profiles : Hash(String, Profile | String)) #

[View source]
def putio : PutIO | Nil #

[View source]
def putio=(putio : PutIO | Nil) #

[View source]
def token(profile : String | Nil = @profile) #

[View source]
def token?(profile : String | Nil = @profile) #

[View source]
def verbose : Bool #

[View source]
def verbose=(verbose : Bool) #

[View source]