Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kingwingfly committed Feb 6, 2024
1 parent 2414494 commit f8b0c6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ Options:
### Example
```sh
# auto complete is supported; e.g:
$ fav completion fish > ~/.config/fish/completions/fav.fish
# init for bilibili
$ fav init bili
# scan code to login
Expand Down Expand Up @@ -202,6 +204,7 @@ _For more examples, please refer to the [Documentation](https://github.com/kingw
- [ ] Sync
- [ ] Serve
- [ ] Tui
- [ ] Dynamic completion

See the [open issues](https://github.com/kingwingfly/fav/issues) for a full list of proposed features (and known issues).

Expand Down
2 changes: 2 additions & 0 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ enum Commands {
#[arg(long, short, value_enum)]
clarity: Option<Qn>,
},
/// Completions for the shell
Completion {
/// The shell to generate completions for
#[arg(value_enum)]
shell: clap_complete::Shell,
},
Expand Down

0 comments on commit f8b0c6c

Please sign in to comment.