-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjobs.js
42 lines (41 loc) · 865 Bytes
/
jobs.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
var os = require("os");
module.exports = {
showcase: {
name: 'Showcase',
description: '',
cwd: __dirname,
variants: {
zork: {
name: 'Zork',
description: 'Wanna be eaten by grue?',
cwd: '/home/www/node-cli-proxy-demo/zork',
command: '/home/www/node-cli-proxy-demo/frotz/dfrotz',
args: [ 'ZORK1.DAT' ],
uid: 1000,
gid: 1000
},
eliza: {
name: 'Eliza',
description: 'Eliza chat bot. Isn\'t she awesome?',
cwd:
os.hostname().match(/\.local$/)
? '/Users/tk/eliza-cli'
: '/home/www/node-cli-proxy-demo/eliza-cli',
command: 'node',
args: ['eliza']
},
ls: {
name: 'ls',
description: 'Calls ls in app folder',
command: 'ls',
args: []
},
lsla: {
name: 'ls -la',
description: 'Calls ls -la in app folder',
command: 'ls',
args: ['-la']
}
}
}
};