mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-12 15:57:43 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -21,13 +21,11 @@ module.exports = class GravityCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'weight',
|
||||
prompt: 'What should the starting weight be (in KG)?',
|
||||
type: 'float'
|
||||
},
|
||||
{
|
||||
key: 'planet',
|
||||
label: 'celestial object',
|
||||
prompt: `What celestial object do you want to use? Either ${list(Object.keys(planets), 'or')}.`,
|
||||
type: 'string',
|
||||
oneOf: Object.keys(planets),
|
||||
parse: planet => planet.toLowerCase()
|
||||
|
||||
Reference in New Issue
Block a user