-
Notifications
You must be signed in to change notification settings - Fork 0
/
staff.js
executable file
·44 lines (42 loc) · 1.16 KB
/
staff.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
const chalk = require('chalk');
const fuzzy = require('fuzzy');
const organizers = [{
"name": "Sandi Barr",
"twitter": "sandikbarr"
}, {
"name": "Blaine Kasten",
"twitter": "blainekasten"
}, {
"name": "Zach Leatherman",
"twitter": "zachleat"
}, {
"name": "Nick Nisi",
"twitter": "nicknisi"
}, {
"name": "Lindsey Pfeifer",
"twitter": "l_pfeifer18"
}, {
"name": "Jerod Santo",
"twitter": "jerodsanto"
}, {
"name": "Matt Steele",
"twitter": "mattdsteele"
}, {
"name": "John Hobbs",
"twitter": "jmhobbs"
}];
module.exports = function (program) {
program.command('staff').action(function(name) {
console.log(chalk.cyan(".==============================."));
console.log(chalk.cyan("| STAFF |"));
console.log(chalk.cyan("'=============================='"));
console.log("");
console.log("NEJS Conf is organized by these lovely people, and run by a bunch of great volunteers!");
console.log("");
for (let organizer of organizers) {
console.log(chalk.magenta(" Name: ") + organizer.name);
console.log(chalk.magenta("Twitter: ") + "@" + organizer.twitter);
console.log("");
}
});
};