Skip to content

Instantly share code, notes, and snippets.

@philipszdavido
Created November 8, 2017 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipszdavido/f4625d7fb563c28aac0419f6ac3dbf8a to your computer and use it in GitHub Desktop.
Save philipszdavido/f4625d7fb563c28aac0419f6ac3dbf8a to your computer and use it in GitHub Desktop.
export let questions: Array<Object> = [
{
type: 'input',
name: 'firstname',
message: 'Enter first name'
},
{
type: 'input',
name: 'lastname',
message: 'Enter Lastname'
},
{
type: 'input',
name: 'phone',
message: 'Enter Phone Number'
},
{
type: 'input',
name: 'email',
message: 'Enter Your Email Address'
}
]
export let getIdQuestions: Array<Object> = [
{
type: 'input',
name: 'id',
message: 'Enter the contact id'
}
]
export let updateContactQuestions: Array<Object> = [
{
type: 'input',
name: 'id',
message: 'Enter the contact id'
},
...questions
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment