src/api2/config/remotes.rs: improve api, implement update and read
This commit is contained in:
@ -56,6 +56,11 @@ fn remotes_commands() -> CommandLineInterface {
|
||||
CliCommand::new(&api2::config::remotes::API_METHOD_CREATE_REMOTE)
|
||||
.arg_param(&["name"])
|
||||
)
|
||||
.insert(
|
||||
"update",
|
||||
CliCommand::new(&api2::config::remotes::API_METHOD_UPDATE_REMOTE)
|
||||
.arg_param(&["name"])
|
||||
)
|
||||
.insert(
|
||||
"remove",
|
||||
CliCommand::new(&api2::config::remotes::API_METHOD_DELETE_REMOTE)
|
||||
|
Reference in New Issue
Block a user