-
Notifications
You must be signed in to change notification settings - Fork 0
/
prompts.js
51 lines (45 loc) · 1022 Bytes
/
prompts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
const welcomePrompt = {
type: 'list',
message: 'Welcome to the Gallery!!!!!!!',
name: 'option',
choices: ['Show me the art!', 'Log in to edit my drawings', 'Exit'],
};
const userPrompt = {
type: 'list',
message: 'Welcome to the Studio!!!!!!',
name: 'option',
choices: [
'View my drawings',
'Delete a drawing by its ID',
'Go back to main menu \n',
],
};
const galleryPrompt = {
type: 'list',
message: 'View finder',
name: 'option',
choices: ['View all drawings', 'View image carousel', 'Go back to main menu'],
};
const deletePrompt = {
type: 'input',
message: 'Enter the ID of the piece you would like to delete.',
name: 'deleteIt',
};
const loginPrompt = {
type: 'confirm',
message: 'Log in with your Github account?',
name: 'githubAuth',
};
const exitPrompt = {
type: 'confirm',
message: 'Take another spin on the carousel?',
name: 'exit',
};
module.exports = {
welcomePrompt,
galleryPrompt,
deletePrompt,
loginPrompt,
userPrompt,
exitPrompt,
};