We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 925b33f commit 7db11bdCopy full SHA for 7db11bd
1 file changed
README.md
@@ -1,2 +1,24 @@
1
# minparse
2
A minimal argument parser
3
+## Usage
4
+
5
+```rust
6
+use minparse::minparse;
7
8
+minparse::process_name();
9
+// => Get process name <String>
10
+minparse::switches();
11
+// => Get options that do not require a value (e.g --help) Vec<String>
12
+minparse::subcommands();
13
+// => Subcommands (do not have prefixed `--`. Includes process name) Vec<String> example: vec!["cargo", "run"]
14
+minparse::fields()
15
+// => Fields with a value (e.g. --port 8080) HashMap<String, String>
16
+```
17
+## Donate
18
+```toml
19
+# Wallets to which you can donate :)
20
21
+ BTC = "3NC14JNuzdLkxJTdNa6bnFXaYzMKMc1Uwt"
22
+ ETH = "0xc41c0f847d58121f552c683e454ddafeb415f25e"
23
+ XMR = "875smxvwbP64MFZnHrHwHcGahoEB4a5ARGCBidr95LqL4GEPiB4T8J74UB5TzrXK3wbTZ1iidfYoV37KZq1vqWCQSNztDAF"
24
0 commit comments