mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
Remove prompt from all commands
This commit is contained in:
@@ -21,7 +21,6 @@ module.exports = class ShortenUrlCommand extends Command {
|
||||
args: [
|
||||
{
|
||||
key: 'url',
|
||||
prompt: 'What url would you like to shorten?',
|
||||
type: 'string',
|
||||
validate: url => {
|
||||
if (encodeURI(url).length > 2083) return 'Your URL is too long.';
|
||||
|
||||
Reference in New Issue
Block a user