mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
change 'delete' to 'remove' everywhere to be consistent (#2834)
This commit is contained in:
@@ -99,8 +99,8 @@ pub fn ssh<C: Context>() -> ParentHandler<C> {
|
||||
.with_call_remote::<CliContext>(),
|
||||
)
|
||||
.subcommand(
|
||||
"delete",
|
||||
from_fn_async(delete)
|
||||
"remove",
|
||||
from_fn_async(remove)
|
||||
.no_display()
|
||||
.with_about("Remove ssh key")
|
||||
.with_call_remote::<CliContext>(),
|
||||
@@ -159,7 +159,7 @@ pub struct DeleteParams {
|
||||
}
|
||||
|
||||
#[instrument(skip_all)]
|
||||
pub async fn delete(
|
||||
pub async fn remove(
|
||||
ctx: RpcContext,
|
||||
DeleteParams { fingerprint }: DeleteParams,
|
||||
) -> Result<(), Error> {
|
||||
|
||||
Reference in New Issue
Block a user