aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/sh.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/sh.ts')
-rw-r--r--src/commands/dev/sh.ts16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/commands/dev/sh.ts b/src/commands/dev/sh.ts
index 83432f4..5ef72b1 100644
--- a/src/commands/dev/sh.ts
+++ b/src/commands/dev/sh.ts
@@ -17,20 +17,18 @@ export default class ShCommand extends BushCommand {
super('sh', {
aliases: ['sh', 'shell', 'cmd'],
category: 'dev',
- description: {
- content: 'Run shell commands.',
- usage: ['sh <command>'],
- examples: ['sh git pull']
- },
+ description: 'Run shell commands.',
+ usage: ['sh <command>'],
+ examples: ['sh git pull'],
args: [
{
id: 'command',
+ description: 'The content you would like to run as a shell command.',
type: 'string',
match: 'rest',
- prompt: {
- start: 'What would you like run',
- retry: '{error} Invalid command to run.'
- }
+ prompt: 'What would you like run',
+ retry: '{error} Invalid command to run.',
+ slashType: 'STRING'
}
],
ownerOnly: true,