Skip to content

Commit

Permalink
chore: change command for vaults delete to be rm|remove
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanjassal committed Nov 12, 2024
1 parent 3d7e0e5 commit a4e0227
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/vaults/CommandDelete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@ import * as binParsers from '../utils/parsers';
class CommandDelete extends CommandPolykey {
constructor(...args: ConstructorParameters<typeof CommandPolykey>) {
super(...args);
this.name('delete');
this.description('Delete an Existing Vault');
this.name('rm');
this.alias('remove')
this.description('Remove an existing Vault');
this.argument(
'<vaultName>',
'Name of the vault to be deleted',
'Name of the vault to be removed',
binParsers.parseVaultName,
);
this.addOption(binOptions.nodeId);
Expand Down

0 comments on commit a4e0227

Please sign in to comment.