spoopy link command

This commit is contained in:
Daniel Odendahl Jr
2017-09-02 18:21:03 +00:00
parent 358c956ef9
commit 787f3ec54a
7 changed files with 48 additions and 8 deletions
+4 -2
View File
@@ -15,12 +15,14 @@ module.exports = class GitHubCommand extends Command {
{
key: 'author',
prompt: 'Who is the author of the repository?',
type: 'string'
type: 'string',
parse: author => encodeURIComponent(author)
},
{
key: 'repository',
prompt: 'What is the name of the repository?',
type: 'string'
type: 'string',
parse: repository => encodeURIComponent(repository)
}
]
});