# Argster A simple command line parser --- [![Argster example](https://asciinema.org/a/RWWvftRNrYWhJC8dFZV4f9lcI.svg)](https://asciinema.org/a/RWWvftRNrYWhJC8dFZV4f9lcI) # Example ```rs use argster::command; struct App; #[command] impl App { /// A hello command /// # Args /// input The name to greet /// --number -n The number of times to greet them fn hello(input: String, times: Option) { for _ in 0..times.unwrap_or(1) { println!("Hello {input}"); } } } fn main() { App::main(); } ``` # Command syntax ``` - - - -- -- ```