Yaccas
Yet Another Callback-orientated Command line pArSer is ... well, yet another command line parser.
Features or "Yet another?! You are not that creative, are you?!"
Indeed, there are so many command line parser written in Rust out there... But would I have written this one if it is like all the other? Let me convince you: Why should you choose this one?
- Smoothly to integrate into existing projects
- Extreme lightweight, easy & fast
- Zero dependencies: Only pure Rust!
- No handler, references or other bullshit: Just modern callbacks!
- Ready for every system: Accept the syntax of UNIX exactly like that one of WINDOWS.
- Completely documented, many (doc-)tests to check correctness
Documentation
Example
There are two ways to use Yaccas: The preferred callback-oriented method or a argument-oriented one.
extern crate yaccas;
use ;
use ;
##Author Christopher Gundler (c.gundler@mail.de)
##License Licensed under either of
- Apache License, Version 2.0, (http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (http://opensource.org/licenses/MIT)
at your option.
##Contribution Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.