Skip to main content

args

Function args 

Source
pub fn args() -> LogosSeq<String>
Expand description

Returns command-line arguments as a vector.

The first element is the program name (or path), followed by any arguments passed to the program.

§Returns

A vector of all command-line arguments.

§Example

use logicaffeine_system::env;

let args = env::args();
assert!(!args.is_empty());