Change order of currency and units arguments

This commit is contained in:
Daniel Odendahl Jr
2018-03-22 20:26:14 +00:00
parent aa28611a50
commit fa18852775
3 changed files with 11 additions and 11 deletions
+5 -5
View File
@@ -10,6 +10,11 @@ module.exports = class UnitsCommand extends Command {
memberName: 'units',
description: 'Converts units to/from other units.',
args: [
{
key: 'amount',
prompt: 'How many units should be converted?',
type: 'float'
},
{
key: 'base',
prompt: 'What unit type do you want to convert from?',
@@ -21,11 +26,6 @@ module.exports = class UnitsCommand extends Command {
prompt: 'What unit type do you want to convert to?',
type: 'string',
parse: target => target.toLowerCase()
},
{
key: 'amount',
prompt: 'How many units should be converted?',
type: 'float'
}
]
});