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
|
|
@ -53,13 +53,18 @@ enum Commands {
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
show_alphas: bool,
|
show_alphas: bool,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/// Search for mods on modrinth for project in current directory
|
||||||
|
/// automticallly filters mod loader, minecraft version from config file
|
||||||
Search {
|
Search {
|
||||||
|
/// Search term to look up, e.g. project name or keyword.
|
||||||
query: String,
|
query: String,
|
||||||
|
|
||||||
|
/// Number of results to skip before returning matches.
|
||||||
#[arg(long)]
|
#[arg(long)]
|
||||||
offset: Option<u32>,
|
offset: Option<u32>,
|
||||||
|
|
||||||
|
/// Maximum number of results to return. [default: 10]
|
||||||
#[arg(long, value_parser = clap::value_parser!(u32).range(1..=100))]
|
#[arg(long, value_parser = clap::value_parser!(u32).range(1..=100))]
|
||||||
limit: Option<u32>,
|
limit: Option<u32>,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue