class

RNS::Rnx::Args

Inherits Reference < Object

Parsed command-line arguments for rnx

Constructors

new(config : Nil | String = nil, verbose : Int32 = 0, quiet : Int32 = 0, print_identity : Bool = false, listen : Bool = false, identity : Nil | String = nil, interactive : Bool = false, no_announce : Bool = false, allowed : Array(String) = [] of String, noauth : Bool = false, noid : Bool = false, detailed : Bool = false, mirror : Bool = false, timeout : Float64 = Transport::PATH_REQUEST_TIMEOUT.to_f64, result_timeout : Float64 | Nil = nil, stdin_data : Nil | String = nil, stdout_limit : Int32 | Nil = nil, stderr_limit : Int32 | Nil = nil, version : Bool = false, destination : Nil | String = nil, command : Nil | String = nil)
Source

Instance methods

allowed
Source
allowed=(allowed : Array(String))
Source
command
Source
command=(command : String | Nil)
Source
config
Source
config=(config : String | Nil)
Source
destination

Positional: destination, command

Source
destination=(destination : String | Nil)

Positional: destination, command

Source
detailed
Source
detailed=(detailed : Bool)
Source
identity
Source
identity=(identity : String | Nil)
Source
interactive
Source
interactive=(interactive : Bool)
Source
listen
Source
listen=(listen : Bool)
Source
mirror
Source
mirror=(mirror : Bool)
Source
no_announce
Source
no_announce=(no_announce : Bool)
Source
noauth
Source
noauth=(noauth : Bool)
Source
noid
Source
noid=(noid : Bool)
Source
quiet
Source
quiet=(quiet : Int32)
Source
result_timeout
Source
result_timeout=(result_timeout : Float64 | Nil)
Source
stderr_limit
Source
stderr_limit=(stderr_limit : Int32 | Nil)
Source
stdin_data
Source
stdin_data=(stdin_data : String | Nil)
Source
stdout_limit
Source
stdout_limit=(stdout_limit : Int32 | Nil)
Source
timeout
Source
timeout=(timeout : Float64)
Source
verbose
Source
verbose=(verbose : Int32)
Source
version
Source
version=(version : Bool)
Source