clipars

Command line parser for Rust

14 releases (stable)

✓ Uses Rust 2018 edition

new 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

#70 in Command-line interface

Download history 27/week @ 2019-03-08 44/week @ 2019-03-15 46/week @ 2019-03-22 1/week @ 2019-03-29 11/week @ 2019-04-05 55/week @ 2019-04-12 84/week @ 2019-04-19 164/week @ 2019-04-26 125/week @ 2019-05-03 31/week @ 2019-05-10 35/week @ 2019-05-17

203 downloads per month
Used in 1 crate

ISC license

9KB
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