Created
April 2, 2018 00:32
Star
You must be signed in to star a gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const questoes = [ | |
{ | |
type: 'input', | |
name: 'username', | |
message: 'Insira o login do usuário:' | |
}, | |
{ | |
type: 'password', | |
name: 'password', | |
message: 'Insira a senha do usuário:' | |
}, | |
{ | |
type: 'list', | |
name: 'role', | |
message: 'Escolha o tipo dos repositórios:', | |
choices: [ | |
{name: "Dono", value: 'owner'}, | |
{name: "Membro", value: 'member'} | |
] | |
}, | |
{ | |
type: 'list', | |
name: 'pagelen', | |
message: 'Quantos repositórios quer ver?', | |
choices: [ | |
{name: 5, checked: true}, | |
{name: 10}, | |
{name: 15} | |
] | |
}, | |
{ | |
type: 'confirm', | |
name: 'somenteNome', | |
message: 'Quer ver somente o nome do repositório?' | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment