change 'delete' to 'remove' everywhere to be consistent (#2834)

This commit is contained in:
Aiden McClelland
2025-02-20 17:14:04 -07:00
committed by GitHub
parent d63341ea06
commit 40d194672b
8 changed files with 26 additions and 25 deletions

View File

@@ -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> {