Skip to content

Instantly share code, notes, and snippets.

@vmussak

vmussak/questoes.js

Created Apr 2, 2018
Embed
What would you like to do?
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
You can’t perform that action at this time.