docs(search): add docs for search command
This commit is contained in:
parent
4c6daf1fb7
commit
24cd3d2765
1 changed files with 7 additions and 2 deletions
|
|
@ -54,12 +54,17 @@ enum Commands {
|
|||
show_alphas: bool,
|
||||
},
|
||||
|
||||
/// Search for mods on modrinth for project in current directory
|
||||
/// automticallly filters mod loader, minecraft version from config file
|
||||
Search {
|
||||
/// Search term to look up, e.g. project name or keyword.
|
||||
query: String,
|
||||
|
||||
/// Number of results to skip before returning matches.
|
||||
#[arg(long)]
|
||||
offset: Option<u32>,
|
||||
|
||||
/// Maximum number of results to return. [default: 10]
|
||||
#[arg(long, value_parser = clap::value_parser!(u32).range(1..=100))]
|
||||
limit: Option<u32>,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue