Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # What is yaggo?
- Yaggo is a tool to generate command line parsers for C++. Yaggo stands
- for "Yet Another GenGetOpt" and is inspired by [GNU Gengetopt](https://www.gnu.org/software/gengeto$
- It reads a configuration file describing the switches and argument for
- a C++ program and it generates one header file that parses the command
- line using getopt_long(3). See the Example section below for more details.
- # Installation
- ## Quick and easy
- Download the standalone script from the [release](https://github.com/gmarcais/yaggo/releases)
- and copy it into a directory in your PATH (e.g. `~/bin`)
- From the source tree, the same is achieved with:
- ```Shell
- make DEST=$HOME/bin
- ```
- ## As a gem
- Download the gem from the [release](https://github.com/gmarcais/yaggo/releases) and install it
- with `sudo gem install ./yaggo-1.5.8.gem` (adjust the version!).
- Similarly, from the source tree, first generate the gem
- and then install it. For example here with version 1.5.3:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement