Created
November 8, 2017 11:36
-
-
Save philipszdavido/f4625d7fb563c28aac0419f6ac3dbf8a to your computer and use it in GitHub Desktop.
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
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