Crates.io | clipars |
lib.rs | clipars |
version | 1.2.3 |
source | src |
created_at | 2019-03-11 20:08:49.739611 |
updated_at | 2019-05-25 19:13:48.22997 |
description | Command line parser for Rust |
homepage | |
repository | https://github.com/ltheinrich/clipars |
max_upload_size | |
id | 120123 |
size | 14,592 |
Command line parser for Rust
Requirements
extern crate clipars;
use clipars::Command;
use std::env;
let args: Vec<String> = env::args().collect();
let command = Command::from(&args, &["option"]);