mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-24 22:34:46 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -18,19 +18,16 @@ module.exports = class CramCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'opponent',
|
||||
prompt: 'What user would you like to challenge?',
|
||||
type: 'user'
|
||||
},
|
||||
{
|
||||
key: 'color',
|
||||
prompt: `What color do you want to be? Either ${list(Object.keys(colors), 'or')}.`,
|
||||
type: 'string',
|
||||
oneOf: Object.keys(colors),
|
||||
parse: color => color.toLowerCase()
|
||||
},
|
||||
{
|
||||
key: 'size',
|
||||
prompt: 'What board size do you want to use?',
|
||||
type: 'integer',
|
||||
min: 3,
|
||||
max: 10,
|
||||
|
||||
Reference in New Issue
Block a user