simple--args 1.1.0

A small library for parsing arguments in Rust
Documentation
# Simple Args

A small library for parsing arguments in Rust

<br/>

## 📝Docs

> ### simpleargs::SimpleArgs


<br/>

> #### fn new(args: Vec\<String\>) -> [SimpleArgs]#simpleargssimpleargs

Creates a new instance using the provided arguments.

> #### fn parse(&self) -> (Vec\<String\>, Vec\<String\>, HashMap\<String, String\>)

Parses the arguments.
Returns a tuple with:
1. Commands (e.g. ```./myprogram test```)
2. Flags (e.g. ```-y -myflag /anotherflag```)
3. Options (e.g. ```--my-message "Hello world!"```)

*Prefixes like "-", "/" or "--" are not included in the output.*

<br/>

## 🗒️Examples

- [Basic (basic)]https://github.com/bennett-sh/simple-args/blob/master/examples/basic.rs

#### Try it out: 

```sh
cargo build --lib --example [name of example]
./target/debug/examples/[name of example](.exe)
```