mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 12:43:52 +00:00
Readme updates
This commit is contained in:
parent
2b53550ab5
commit
71a29f43d0
@ -1,3 +1,5 @@
|
||||
## Version 0.4 (in progress)
|
||||
|
||||
## Version 0.3
|
||||
|
||||
* Added `->requires`, `->excludes`, and `->envname` from [Plumbum](http://plumbum.readthedocs.io/en/latest/)
|
||||
|
10
README.md
10
README.md
@ -141,11 +141,11 @@ even exit the program through the callback. The main `App` has a callback slot,
|
||||
|
||||
|
||||
|
||||
> ### Subclassing
|
||||
>
|
||||
> The App class was designed allow toolkits to subclass it, to provide default options and setup/teardown code. Subcommands remain `App`'s, since those are not expected to need setup and teardown. The default `App` only adds a help flag, `-h,--help`, but provides an option to disable it in the constructor (and in `add_subcommand`).
|
||||
>
|
||||
> Also, in a related note, the `App`s you get a pointer to are stored in the parent `App` in `unique_ptr`s (like `Option`s) and are deleted when the main `App` goes out of scope.
|
||||
## Subclassing
|
||||
|
||||
The App class was designed allow toolkits to subclass it, to provide default options and setup/teardown code. Subcommands remain `App`'s, since those are not expected to need setup and teardown. The default `App` only adds a help flag, `-h,--help`, but provides an option to disable it in the constructor (and in `add_subcommand`).
|
||||
|
||||
Also, in a related note, the `App`s you get a pointer to are stored in the parent `App` in `unique_ptr`s (like `Option`s) and are deleted when the main `App` goes out of scope.
|
||||
|
||||
|
||||
## How it works
|
||||
|
Loading…
x
Reference in New Issue
Block a user