-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some docs and README improvements (#80)
* Some README tweaks * Add a README under ./examples * Use links rather than files * Fix the links * Add TODO around examples
- Loading branch information
1 parent
ede821c
commit fa0eb56
Showing
4 changed files
with
34 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Examples | ||
|
||
This directory contains a bunch of example programs built with `cli` to show you how the library works and how you might implement common patterns. | ||
|
||
- [Examples](#examples) | ||
- [`./quickstart`](#quickstart) | ||
- [`./subcommands`](#subcommands) | ||
|
||
## `./quickstart` | ||
|
||
Implements the [quickstart] command from the main project README | ||
|
||
## `./subcommands` | ||
|
||
A CLI with multiple subcommands, each with their own flags and expected arguments. Shows how to easily store parsed flag values in an options struct and pass them around your program. | ||
|
||
[quickstart]: https://github.com/FollowTheProcess/cli#quickstart |