Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
  • Loading branch information
saschagrunert committed Dec 8, 2019
1 parent b1fbfe4 commit 576e593
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/v2/manual.md
Expand Up @@ -27,6 +27,7 @@ cli v2 manual
+ [Customization](#customization-1)
* [Version Flag](#version-flag)
+ [Customization](#customization-2)
* [Suggestions](#suggestions)
* [Full API Example](#full-api-example)

<!-- tocstop -->
Expand Down Expand Up @@ -1215,6 +1216,13 @@ func main() {
}
```

### Suggestions

To enable flag and command suggestions, set `app.Suggest = true`. If the suggest
feature is enabled, then the help output of the corresponding command will
provide an appropriate suggestion for the provided flag or subcommand if
available.

### Full API Example

**Notice**: This is a contrived (functioning) example meant strictly for API
Expand Down

0 comments on commit 576e593

Please sign in to comment.