1 | /**
|
2 | * Bud file for LICENSE
|
3 | */
|
4 |
|
5 |
|
6 |
|
7 | const apeTmpl = require('ape-tmpl')
|
8 |
|
9 | module.exports = apeTmpl.binBud({
|
10 | signature: {
|
11 | name: 'mock-bin',
|
12 | commands: [
|
13 | {
|
14 | 'name': 'sing',
|
15 | 'desc': 'Sing a song',
|
16 | 'args': [
|
17 | {
|
18 | 'name': 'song',
|
19 | 'optional': false
|
20 | }
|
21 | ],
|
22 | 'options': [
|
23 | {
|
24 | 'name': 'mood',
|
25 | 'short': 'p',
|
26 | 'type': 'string',
|
27 | 'desc': 'Singing mood.'
|
28 | },
|
29 | {
|
30 | 'name': 'volume',
|
31 | 'short': 'v',
|
32 | 'type': 'number',
|
33 | 'desc': 'Singing volume'
|
34 | }
|
35 | ]
|
36 | }
|
37 | ]
|
38 | }
|
39 | })
|
40 |
|
41 | if (!module.parent) {
|
42 | // This will generate 'LICENSE'
|
43 | require('coz').render(__filename)
|
44 | }
|