#arguments-parser #command #line #env

yanked clipars

Command line parser for Rust

1.2.3 May 25, 2019
1.2.2 May 4, 2019
1.2.0 Apr 28, 2019
1.0.1 Mar 22, 2019
0.1.0 Mar 11, 2019

#289 in #env

ISC license

10KB
114 lines

Build Status Discord

clipars

Command line parser for Rust

Requirements

  • Rust >= 1.31
  • Cargo >= 1.31
extern crate clipars;

use clipars::Command;
use std::env;

let args: Vec<String> = env::args().collect();
let command = Command::from(&args, &["option"]);

No runtime deps