mirror of
https://github.com/vrc-get/vrc-get.git
synced 2026-06-21 09:58:08 +00:00
fix: optional parameter before required
This commit is contained in:
parent
0fa715a482
commit
2b02ef68f4
2 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ Open Source command line interface of VRChat Package Manager.
|
|||
|
||||
- [x] `vrc-get install [pkg] [version]`
|
||||
- [x] `vrc-get repo list`
|
||||
- [x] `vrc-get repo add [NAME] <url>`
|
||||
- [x] `vrc-get repo add <url> [NAME]`
|
||||
- [x] `vrc-get repo remove <name or url>`
|
||||
- [x] `vrc-get repo cleanup`
|
||||
- [x] `vrc-get repo packages <NAME|url>`
|
||||
|
|
|
|||
|
|
@ -130,12 +130,12 @@ impl RepoList {
|
|||
/// Add remote or local repository
|
||||
#[derive(Parser)]
|
||||
pub struct RepoAdd {
|
||||
/// Name of Package
|
||||
#[arg()]
|
||||
name: Option<String>,
|
||||
/// URL of Package
|
||||
#[arg()]
|
||||
path_or_url: String,
|
||||
/// Name of Package
|
||||
#[arg()]
|
||||
name: Option<String>,
|
||||
}
|
||||
|
||||
impl RepoAdd {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue