forked from telegraf/template-bot
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsao.js
40 lines (39 loc) · 851 Bytes
/
sao.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
const superb = require('superb')
const camelCase = require('camelcase')
module.exports = {
templateOptions: {
context: { camelCase },
},
prompts: {
name: {
message: 'What is the name of the new bot?',
role: 'folder:name',
},
description: {
message: 'How would you describe the new bot?',
default: `My ${superb()} bot.`,
},
fullname: {
message: 'What is your full name?',
role: 'git:name',
store: true,
},
username: {
message: 'What is your GitHub username?',
role: 'git:username',
store: true,
},
email: {
message: 'What is your GitHub email?',
role: 'git:email',
store: true,
},
},
move: {
'gitignore': '.gitignore',
},
enforceNewFolder: true,
installDependencies: true,
gitInit: true,
showTip: true,
}