mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 22:32:52 +02:00
Nicer args parse
This commit is contained in:
@@ -18,9 +18,7 @@ module.exports = class LockdownCommand extends Command {
|
||||
}
|
||||
return 'Please enter either `start` or `stop`.';
|
||||
},
|
||||
parse: text => {
|
||||
return text.toLowerCase();
|
||||
}
|
||||
parse: text => text.toLowerCase()
|
||||
}]
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user