Cleaner Looking args

This commit is contained in:
Daniel Odendahl Jr
2017-05-02 17:54:07 +00:00
parent 57ee7fa82b
commit 3bb21c2df0
83 changed files with 787 additions and 616 deletions
+8 -6
View File
@@ -7,12 +7,14 @@ module.exports = class ReverseCommand extends Command {
group: 'textedit',
memberName: 'reverse',
description: 'Reverses text.',
args: [{
key: 'text',
prompt: 'What text would you like to reverse?',
type: 'string',
parse: text => text.split('').reverse().join('')
}]
args: [
{
key: 'text',
prompt: 'What text would you like to reverse?',
type: 'string',
parse: text => text.split('').reverse().join('')
}
]
});
}