1 | {
|
2 | "name": "apeman-dply",
|
3 | "desc": "Deploy project on docker.",
|
4 | "main": true,
|
5 | "args": [
|
6 | {
|
7 | "name": "name",
|
8 | "type": "string",
|
9 | "desc": "Name of dply",
|
10 | "optional": true,
|
11 | "multiple": true
|
12 | }
|
13 | ],
|
14 | "options": [
|
15 | {
|
16 | "name": "verbose",
|
17 | "short": "v",
|
18 | "desc": "Show verbose logs"
|
19 | },
|
20 | {
|
21 | "name": "force",
|
22 | "short": "f",
|
23 | "desc": "Force to remove container."
|
24 | },
|
25 | {
|
26 | "name": "delete",
|
27 | "short": "d",
|
28 | "desc": "Remove container."
|
29 | },
|
30 | {
|
31 | "name": "configuration",
|
32 | "short": "c",
|
33 | "type": "string",
|
34 | "desc": "Pathname of Apemanfile"
|
35 | },
|
36 | {
|
37 | "name": "list",
|
38 | "short": "l",
|
39 | "desc": "List available watches"
|
40 | },
|
41 | {
|
42 | "name": "tty",
|
43 | "short": "t",
|
44 | "desc": "Open terminal for dply"
|
45 | },
|
46 | {
|
47 | "name": "rerun",
|
48 | "short": "r",
|
49 | "desc": "Delete and execute deploying again."
|
50 | },
|
51 | {
|
52 | "name": "exec",
|
53 | "short": "e",
|
54 | "type": "string",
|
55 | "desc": "Execute a command inside container."
|
56 | },
|
57 | {
|
58 | "name": "print",
|
59 | "short": "p",
|
60 | "desc": "Print container log."
|
61 | },
|
62 | {
|
63 | "name": "printon",
|
64 | "short": "P",
|
65 | "desc": "Print and follow container log."
|
66 | }
|
67 | ],
|
68 | "examples": [
|
69 | {
|
70 | "script": "apeman-dply ",
|
71 | "desc": "Execute deploying defined in $dplys prop."
|
72 | },
|
73 | {
|
74 | "script": "apeman-dply -l",
|
75 | "desc": "List available deploy."
|
76 | },
|
77 | {
|
78 | "script": "apeman-dply -t node",
|
79 | "desc": "Open terminal for a deploy."
|
80 | },
|
81 | {
|
82 | "script": "apeman-dply \"node*\"",
|
83 | "desc": "Execute deploy which match pattern."
|
84 | },
|
85 | {
|
86 | "script": "apeman-dply -d",
|
87 | "desc": "Remove all deploy defined in $infra prop."
|
88 | }
|
89 | ]
|
90 | } |
\ | No newline at end of file |