diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-13 20:42:09 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-13 20:42:09 -0500 |
commit | 23b5983adc5567e6647f241749a0d0e0490aedb5 (patch) | |
tree | 813f75a87e7f784876d6cdf1fc8f1923f6d3094f /src/commands/dev/javascript.ts | |
parent | 9f705a0e5a90177784d45d20200dbaa46a569e78 (diff) | |
download | tanzanite-23b5983adc5567e6647f241749a0d0e0490aedb5.tar.gz tanzanite-23b5983adc5567e6647f241749a0d0e0490aedb5.tar.bz2 tanzanite-23b5983adc5567e6647f241749a0d0e0490aedb5.zip |
fix order
Diffstat (limited to 'src/commands/dev/javascript.ts')
-rw-r--r-- | src/commands/dev/javascript.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/commands/dev/javascript.ts b/src/commands/dev/javascript.ts index 5173cd1..d832c09 100644 --- a/src/commands/dev/javascript.ts +++ b/src/commands/dev/javascript.ts @@ -12,6 +12,15 @@ export default class JavascriptCommand extends BushCommand { examples: ['javascript 9+10'], args: [ { + id: 'code', + description: 'The code you would like to run in a sand boxed environment.', + match: 'rest', + prompt: 'What code would you like to run in a sand boxed environment?', + retry: '{error} Invalid code to run in a sand boxed environment.', + slashType: 'STRING', + only: 'slash' + }, + { id: 'sel_depth', description: 'How deep to inspect the output.', match: 'option', @@ -28,7 +37,8 @@ export default class JavascriptCommand extends BushCommand { match: 'rest', prompt: 'What code would you like to run in a sand boxed environment?', retry: '{error} Invalid code to run in a sand boxed environment.', - slashType: 'STRING' + slashType: 'STRING', + only: 'text' } ], slash: true, |