class

RNS::Rncp::Args

Inherits Reference < Object

Parsed command-line arguments for rncp

Constructors

new(config : Nil | String = nil, verbose : Int32 = 0, quiet : Int32 = 0, silent : Bool = false, listen : Bool = false, no_compress : Bool = false, allow_fetch : Bool = false, fetch : Bool = false, jail : Nil | String = nil, save : Nil | String = nil, overwrite : Bool = false, announce : Int32 = -1, allowed : Array(String) = [] of String, no_auth : Bool = false, print_identity : Bool = false, identity : Nil | String = nil, timeout : Float64 = Transport::PATH_REQUEST_TIMEOUT.to_f64, phy_rates : Bool = false, version : Bool = false, file : Nil | String = nil, destination : Nil | String = nil)
Source

Instance methods

allow_fetch
Source
allow_fetch=(allow_fetch : Bool)
Source
allowed
Source
allowed=(allowed : Array(String))
Source
announce
Source
announce=(announce : Int32)
Source
config
Source
config=(config : String | Nil)
Source
destination
Source
destination=(destination : String | Nil)
Source
fetch
Source
fetch=(fetch : Bool)
Source
file

Positional: file, destination

Source
file=(file : String | Nil)

Positional: file, destination

Source
identity
Source
identity=(identity : String | Nil)
Source
jail
Source
jail=(jail : String | Nil)
Source
listen
Source
listen=(listen : Bool)
Source
no_auth
Source
no_auth=(no_auth : Bool)
Source
no_compress
Source
no_compress=(no_compress : Bool)
Source
overwrite
Source
overwrite=(overwrite : Bool)
Source
phy_rates
Source
phy_rates=(phy_rates : Bool)
Source
quiet
Source
quiet=(quiet : Int32)
Source
save
Source
save=(save : String | Nil)
Source
silent
Source
silent=(silent : Bool)
Source
timeout
Source
timeout=(timeout : Float64)
Source
verbose
Source
verbose=(verbose : Int32)
Source
version
Source
version=(version : Bool)
Source