aboutsummaryrefslogtreecommitdiff
path: root/src/commands/dev/test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/dev/test.ts')
-rw-r--r--src/commands/dev/test.ts19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts
index 83dd592..f3ac627 100644
--- a/src/commands/dev/test.ts
+++ b/src/commands/dev/test.ts
@@ -13,21 +13,18 @@ export default class TestCommand extends BushCommand {
super('test', {
aliases: ['test'],
category: 'dev',
- description: {
- content: 'A command to stuff.',
- usage: ['test [feature]'],
- examples: ['test lots of buttons', 'test buttons']
- },
+ description: 'A command to test stuff.',
+ usage: ['test [feature]'],
+ examples: ['test lots of buttons', 'test buttons'],
args: [
{
id: 'feature',
- type: 'string',
+ description: 'The feature to test.',
match: 'rest',
- prompt: {
- start: 'start prompt',
- retry: 'retry prompt',
- optional: true
- }
+ prompt: 'start prompt',
+ retry: 'retry prompt',
+ optional: true,
+ slashType: false
}
],
superUserOnly: true,