class PutIO::CLI::Config
- PutIO::CLI::Config
- Reference
- Object
Defined in:
put-io/cli/config.crConstructors
Instance Method Summary
- #[](profile : String)
- #[]?(profile : String)
- #aliases : Hash(String, String)
- #aliases=(aliases : Hash(String, String))
- #app_id(profile : String | Nil = @profile)
- #app_id?(profile : String | Nil = @profile)
- #application_secret(profile : String | Nil = @profile)
- #application_secret?(profile : String | Nil = @profile)
- #configfile : Path
- #configfile=(configfile : Path)
- #io : IO
- #io=(io : IO)
- #output_file : Path | Nil
- #output_file=(output_file : Path | Nil)
- #output_format : PutIO::CLI::OutputFormat
- #output_format=(output_format : PutIO::CLI::OutputFormat)
- #profile : String | Nil
- #profile=(profile : String | Nil)
- #profiles : Hash(String, Profile | String)
- #profiles=(profiles : Hash(String, Profile | String))
- #putio : PutIO | Nil
- #putio=(putio : PutIO | Nil)
- #token(profile : String | Nil = @profile)
- #token?(profile : String | Nil = @profile)
- #verbose : Bool
- #verbose=(verbose : Bool)
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)
#