Readme update
This commit is contained in:
parent
4dd15aa7d7
commit
077981c3a5
1 changed files with 25 additions and 23 deletions
48
README.md
48
README.md
|
|
@ -90,31 +90,33 @@ Refer to the ```tests``` directory for examples on how the library can be used.
|
|||
The `toast` binary can also be used directly on the CLI:
|
||||
|
||||
```
|
||||
toast -h
|
||||
> toast -h
|
||||
Usage:
|
||||
main [optional-params] C/C++ source/header
|
||||
Options(opt-arg sep :|=|spc):
|
||||
-h, --help print this cligen-erated help
|
||||
--help-syntax advanced: prepend,plurals,..
|
||||
-k, --check bool false check generated wrapper with compiler
|
||||
-d, --debug bool false enable debug output
|
||||
-D=, --defines= strings {} definitions to pass to preprocessor
|
||||
-l=, --dynlib= string "" Import symbols from library in specified Nim string
|
||||
-I=, --includeDirs= strings {} include directory to pass to preprocessor
|
||||
-m=, --mode= string "cpp" language parser: c or cpp
|
||||
--nim= string "nim" use a particular Nim executable (default: $PATH/nim)
|
||||
-c, --nocomments bool false exclude top-level comments from output
|
||||
-o=, --output= string "" file to output content - default stdout
|
||||
-a, --past bool false print AST output
|
||||
-g, --pgrammar bool false print grammar
|
||||
--pluginSourcePath= string "" Nim file to build and load as a plugin
|
||||
-n, --pnim bool false print Nim output
|
||||
-E=, --prefix= strings {} Strip prefix from identifiers
|
||||
-p, --preprocess bool false run preprocessor on header
|
||||
-r, --recurse bool false process #include files
|
||||
-s, --stub bool false stub out undefined type references as objects
|
||||
-F=, --suffix= strings {} Strip suffix from identifiers
|
||||
-O=, --symOverride= strings {} skip generating specified symbols
|
||||
Options:
|
||||
-h, --help print this cligen-erated help
|
||||
--help-syntax advanced: prepend,plurals,..
|
||||
-k, --check bool false check generated wrapper with compiler
|
||||
-d, --debug bool false enable debug output
|
||||
-D=, --defines= strings {} definitions to pass to preprocessor
|
||||
-l=, --dynlib= string "" import symbols from library in specified Nim string
|
||||
-f=, --feature= Features {} flags to enable experimental features
|
||||
-H, --includeHeader bool false add {.header.} pragma to wrapper
|
||||
-I=, --includeDirs= strings {} include directory to pass to preprocessor
|
||||
-m=, --mode= string "cpp" language parser: c or cpp
|
||||
--nim= string "nim" use a particular Nim executable (default: $PATH/nim)
|
||||
-c, --nocomments bool false exclude top-level comments from output
|
||||
-o=, --output= string "" file to output content - default stdout
|
||||
-a, --past bool false print AST output
|
||||
-g, --pgrammar bool false print grammar
|
||||
--pluginSourcePath= string "" nim file to build and load as a plugin
|
||||
-n, --pnim bool false print Nim output
|
||||
-E=, --prefix= strings {} strip prefix from identifiers
|
||||
-p, --preprocess bool false run preprocessor on header
|
||||
-r, --recurse bool false process #include files
|
||||
-s, --stub bool false stub out undefined type references as objects
|
||||
-F=, --suffix= strings {} strip suffix from identifiers
|
||||
-O=, --symOverride= strings {} skip generating specified symbols
|
||||
```
|
||||
|
||||
__Implementation Details__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue