@chabokan.net/cli 0.8.5 → 0.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,312 +1,434 @@
1
1
  {
2
- "version": "0.8.5",
3
2
  "commands": {
4
3
  "deploy": {
5
- "id": "deploy",
6
- "description": "this command help you build and deploy your service to chabokan in easy way.",
7
- "strict": true,
8
- "pluginName": "@chabokan.net/cli",
9
- "pluginAlias": "@chabokan.net/cli",
10
- "pluginType": "core",
11
4
  "aliases": [],
5
+ "args": {},
6
+ "description": "this command help you build and deploy your service to chabokan in easy way.",
12
7
  "flags": {
13
8
  "help": {
14
- "name": "help",
15
- "type": "boolean",
16
9
  "char": "h",
17
10
  "description": "Show CLI help.",
18
- "allowNo": false
11
+ "name": "help",
12
+ "allowNo": false,
13
+ "type": "boolean"
19
14
  },
20
15
  "path": {
21
- "name": "path",
22
- "type": "option",
23
16
  "char": "p",
24
17
  "description": "service path in your computer",
25
- "multiple": false
18
+ "name": "path",
19
+ "hasDynamicHelp": false,
20
+ "multiple": false,
21
+ "type": "option"
26
22
  },
27
23
  "service": {
28
- "name": "service",
29
- "type": "option",
30
24
  "char": "s",
31
25
  "description": "service name",
32
- "multiple": false
26
+ "name": "service",
27
+ "hasDynamicHelp": false,
28
+ "multiple": false,
29
+ "type": "option"
33
30
  }
34
31
  },
35
- "args": {}
36
- },
37
- "login": {
38
- "id": "login",
39
- "description": "login to hub.chabokan.net account",
40
- "strict": true,
41
- "pluginName": "@chabokan.net/cli",
32
+ "hasDynamicHelp": false,
33
+ "hiddenAliases": [],
34
+ "id": "deploy",
42
35
  "pluginAlias": "@chabokan.net/cli",
36
+ "pluginName": "@chabokan.net/cli",
43
37
  "pluginType": "core",
38
+ "strict": true,
39
+ "enableJsonFlag": false,
40
+ "isESM": true,
41
+ "relativePath": [
42
+ "lib",
43
+ "commands",
44
+ "deploy.js"
45
+ ]
46
+ },
47
+ "login": {
44
48
  "aliases": [],
49
+ "args": {},
50
+ "description": "login to hub.chabokan.net account",
45
51
  "flags": {
46
52
  "help": {
47
- "name": "help",
48
- "type": "boolean",
49
53
  "char": "h",
50
54
  "description": "Show CLI help.",
51
- "allowNo": false
55
+ "name": "help",
56
+ "allowNo": false,
57
+ "type": "boolean"
52
58
  },
53
59
  "username": {
54
- "name": "username",
55
- "type": "option",
56
60
  "char": "u",
57
61
  "description": "your username",
58
- "multiple": false
62
+ "name": "username",
63
+ "hasDynamicHelp": false,
64
+ "multiple": false,
65
+ "type": "option"
59
66
  },
60
67
  "password": {
61
- "name": "password",
62
- "type": "option",
63
68
  "char": "p",
64
69
  "description": "your password",
65
- "multiple": false
70
+ "name": "password",
71
+ "hasDynamicHelp": false,
72
+ "multiple": false,
73
+ "type": "option"
66
74
  },
67
75
  "token": {
68
- "name": "token",
69
- "type": "option",
70
76
  "char": "t",
71
77
  "description": "login with api token",
72
- "multiple": false
78
+ "name": "token",
79
+ "hasDynamicHelp": false,
80
+ "multiple": false,
81
+ "type": "option"
73
82
  }
74
83
  },
75
- "args": {}
76
- },
77
- "account:list": {
78
- "id": "account:list",
79
- "description": "show accounts list",
80
- "strict": true,
81
- "pluginName": "@chabokan.net/cli",
84
+ "hasDynamicHelp": false,
85
+ "hiddenAliases": [],
86
+ "id": "login",
82
87
  "pluginAlias": "@chabokan.net/cli",
88
+ "pluginName": "@chabokan.net/cli",
83
89
  "pluginType": "core",
90
+ "strict": true,
91
+ "enableJsonFlag": false,
92
+ "isESM": true,
93
+ "relativePath": [
94
+ "lib",
95
+ "commands",
96
+ "login.js"
97
+ ]
98
+ },
99
+ "account:list": {
84
100
  "aliases": [],
101
+ "args": {},
102
+ "description": "show accounts list",
85
103
  "flags": {
86
104
  "help": {
87
- "name": "help",
88
- "type": "boolean",
89
105
  "char": "h",
90
106
  "description": "Show CLI help.",
91
- "allowNo": false
107
+ "name": "help",
108
+ "allowNo": false,
109
+ "type": "boolean"
92
110
  }
93
111
  },
94
- "args": {}
95
- },
96
- "account:remove": {
97
- "id": "account:remove",
98
- "description": "remove account from list",
99
- "strict": true,
100
- "pluginName": "@chabokan.net/cli",
112
+ "hasDynamicHelp": false,
113
+ "hiddenAliases": [],
114
+ "id": "account:list",
101
115
  "pluginAlias": "@chabokan.net/cli",
116
+ "pluginName": "@chabokan.net/cli",
102
117
  "pluginType": "core",
118
+ "strict": true,
119
+ "enableJsonFlag": false,
120
+ "isESM": true,
121
+ "relativePath": [
122
+ "lib",
123
+ "commands",
124
+ "account",
125
+ "list.js"
126
+ ]
127
+ },
128
+ "account:remove": {
103
129
  "aliases": [],
130
+ "args": {},
131
+ "description": "remove account from list",
104
132
  "flags": {
105
133
  "help": {
106
- "name": "help",
107
- "type": "boolean",
108
134
  "char": "h",
109
135
  "description": "Show CLI help.",
110
- "allowNo": false
136
+ "name": "help",
137
+ "allowNo": false,
138
+ "type": "boolean"
111
139
  }
112
140
  },
113
- "args": {}
114
- },
115
- "account:use": {
116
- "id": "account:use",
117
- "description": "switch your default user between logged in users",
118
- "strict": true,
119
- "pluginName": "@chabokan.net/cli",
141
+ "hasDynamicHelp": false,
142
+ "hiddenAliases": [],
143
+ "id": "account:remove",
120
144
  "pluginAlias": "@chabokan.net/cli",
145
+ "pluginName": "@chabokan.net/cli",
121
146
  "pluginType": "core",
147
+ "strict": true,
148
+ "enableJsonFlag": false,
149
+ "isESM": true,
150
+ "relativePath": [
151
+ "lib",
152
+ "commands",
153
+ "account",
154
+ "remove.js"
155
+ ]
156
+ },
157
+ "account:use": {
122
158
  "aliases": [],
159
+ "args": {},
160
+ "description": "switch your default user between logged in users",
123
161
  "flags": {
124
162
  "help": {
125
- "name": "help",
126
- "type": "boolean",
127
163
  "char": "h",
128
164
  "description": "Show CLI help.",
129
- "allowNo": false
165
+ "name": "help",
166
+ "allowNo": false,
167
+ "type": "boolean"
130
168
  },
131
169
  "user": {
132
- "name": "user",
133
- "type": "option",
134
170
  "char": "u",
135
171
  "description": "default user",
136
- "multiple": false
172
+ "name": "user",
173
+ "hasDynamicHelp": false,
174
+ "multiple": false,
175
+ "type": "option"
137
176
  }
138
177
  },
139
- "args": {}
140
- },
141
- "service:list": {
142
- "id": "service:list",
143
- "description": "show account services list",
144
- "strict": true,
145
- "pluginName": "@chabokan.net/cli",
178
+ "hasDynamicHelp": false,
179
+ "hiddenAliases": [],
180
+ "id": "account:use",
146
181
  "pluginAlias": "@chabokan.net/cli",
182
+ "pluginName": "@chabokan.net/cli",
147
183
  "pluginType": "core",
184
+ "strict": true,
185
+ "enableJsonFlag": false,
186
+ "isESM": true,
187
+ "relativePath": [
188
+ "lib",
189
+ "commands",
190
+ "account",
191
+ "use.js"
192
+ ]
193
+ },
194
+ "service:list": {
148
195
  "aliases": [],
196
+ "args": {},
197
+ "description": "show account services list",
149
198
  "flags": {
150
199
  "help": {
151
- "name": "help",
152
- "type": "boolean",
153
200
  "char": "h",
154
201
  "description": "Show CLI help.",
155
- "allowNo": false
202
+ "name": "help",
203
+ "allowNo": false,
204
+ "type": "boolean"
156
205
  }
157
206
  },
158
- "args": {}
159
- },
160
- "service:logs": {
161
- "id": "service:logs",
162
- "description": "read latest logs from service",
163
- "strict": true,
164
- "pluginName": "@chabokan.net/cli",
207
+ "hasDynamicHelp": false,
208
+ "hiddenAliases": [],
209
+ "id": "service:list",
165
210
  "pluginAlias": "@chabokan.net/cli",
211
+ "pluginName": "@chabokan.net/cli",
166
212
  "pluginType": "core",
213
+ "strict": true,
214
+ "enableJsonFlag": false,
215
+ "isESM": true,
216
+ "relativePath": [
217
+ "lib",
218
+ "commands",
219
+ "service",
220
+ "list.js"
221
+ ]
222
+ },
223
+ "service:logs": {
167
224
  "aliases": [],
225
+ "args": {},
226
+ "description": "read latest logs from service",
168
227
  "flags": {
169
228
  "help": {
170
- "name": "help",
171
- "type": "boolean",
172
229
  "char": "h",
173
230
  "description": "Show CLI help.",
174
- "allowNo": false
231
+ "name": "help",
232
+ "allowNo": false,
233
+ "type": "boolean"
175
234
  },
176
235
  "service": {
177
- "name": "service",
178
- "type": "option",
179
236
  "char": "s",
180
237
  "description": "service name",
181
- "multiple": false
238
+ "name": "service",
239
+ "hasDynamicHelp": false,
240
+ "multiple": false,
241
+ "type": "option"
182
242
  }
183
243
  },
184
- "args": {}
185
- },
186
- "service:resize": {
187
- "id": "service:resize",
188
- "description": "resize a service",
189
- "strict": true,
190
- "pluginName": "@chabokan.net/cli",
244
+ "hasDynamicHelp": false,
245
+ "hiddenAliases": [],
246
+ "id": "service:logs",
191
247
  "pluginAlias": "@chabokan.net/cli",
248
+ "pluginName": "@chabokan.net/cli",
192
249
  "pluginType": "core",
250
+ "strict": true,
251
+ "enableJsonFlag": false,
252
+ "isESM": true,
253
+ "relativePath": [
254
+ "lib",
255
+ "commands",
256
+ "service",
257
+ "logs.js"
258
+ ]
259
+ },
260
+ "service:resize": {
193
261
  "aliases": [],
262
+ "args": {},
263
+ "description": "resize a service",
194
264
  "flags": {
195
265
  "help": {
196
- "name": "help",
197
- "type": "boolean",
198
266
  "char": "h",
199
267
  "description": "Show CLI help.",
200
- "allowNo": false
268
+ "name": "help",
269
+ "allowNo": false,
270
+ "type": "boolean"
201
271
  },
202
272
  "service": {
203
- "name": "service",
204
- "type": "option",
205
273
  "char": "s",
206
274
  "description": "service name",
207
- "multiple": false
275
+ "name": "service",
276
+ "hasDynamicHelp": false,
277
+ "multiple": false,
278
+ "type": "option"
208
279
  },
209
280
  "ram": {
210
- "name": "ram",
211
- "type": "option",
212
281
  "char": "r",
213
282
  "description": "RAM",
214
- "multiple": false
283
+ "name": "ram",
284
+ "hasDynamicHelp": false,
285
+ "multiple": false,
286
+ "type": "option"
215
287
  },
216
288
  "cpu": {
217
- "name": "cpu",
218
- "type": "option",
219
289
  "char": "c",
220
290
  "description": "CPU",
221
- "multiple": false
291
+ "name": "cpu",
292
+ "hasDynamicHelp": false,
293
+ "multiple": false,
294
+ "type": "option"
222
295
  },
223
296
  "disk": {
224
- "name": "disk",
225
- "type": "option",
226
297
  "char": "d",
227
298
  "description": "DISK",
228
- "multiple": false
299
+ "name": "disk",
300
+ "hasDynamicHelp": false,
301
+ "multiple": false,
302
+ "type": "option"
229
303
  }
230
304
  },
231
- "args": {}
232
- },
233
- "service:restart": {
234
- "id": "service:restart",
235
- "description": "restart a service",
236
- "strict": true,
237
- "pluginName": "@chabokan.net/cli",
305
+ "hasDynamicHelp": false,
306
+ "hiddenAliases": [],
307
+ "id": "service:resize",
238
308
  "pluginAlias": "@chabokan.net/cli",
309
+ "pluginName": "@chabokan.net/cli",
239
310
  "pluginType": "core",
311
+ "strict": true,
312
+ "enableJsonFlag": false,
313
+ "isESM": true,
314
+ "relativePath": [
315
+ "lib",
316
+ "commands",
317
+ "service",
318
+ "resize.js"
319
+ ]
320
+ },
321
+ "service:restart": {
240
322
  "aliases": [],
323
+ "args": {},
324
+ "description": "restart a service",
241
325
  "flags": {
242
326
  "help": {
243
- "name": "help",
244
- "type": "boolean",
245
327
  "char": "h",
246
328
  "description": "Show CLI help.",
247
- "allowNo": false
329
+ "name": "help",
330
+ "allowNo": false,
331
+ "type": "boolean"
248
332
  },
249
333
  "service": {
250
- "name": "service",
251
- "type": "option",
252
334
  "char": "s",
253
335
  "description": "service name",
254
- "multiple": false
336
+ "name": "service",
337
+ "hasDynamicHelp": false,
338
+ "multiple": false,
339
+ "type": "option"
255
340
  }
256
341
  },
257
- "args": {}
258
- },
259
- "service:start": {
260
- "id": "service:start",
261
- "description": "start a service",
262
- "strict": true,
263
- "pluginName": "@chabokan.net/cli",
342
+ "hasDynamicHelp": false,
343
+ "hiddenAliases": [],
344
+ "id": "service:restart",
264
345
  "pluginAlias": "@chabokan.net/cli",
346
+ "pluginName": "@chabokan.net/cli",
265
347
  "pluginType": "core",
348
+ "strict": true,
349
+ "enableJsonFlag": false,
350
+ "isESM": true,
351
+ "relativePath": [
352
+ "lib",
353
+ "commands",
354
+ "service",
355
+ "restart.js"
356
+ ]
357
+ },
358
+ "service:start": {
266
359
  "aliases": [],
360
+ "args": {},
361
+ "description": "start a service",
267
362
  "flags": {
268
363
  "help": {
269
- "name": "help",
270
- "type": "boolean",
271
364
  "char": "h",
272
365
  "description": "Show CLI help.",
273
- "allowNo": false
366
+ "name": "help",
367
+ "allowNo": false,
368
+ "type": "boolean"
274
369
  },
275
370
  "service": {
276
- "name": "service",
277
- "type": "option",
278
371
  "char": "s",
279
372
  "description": "service name",
280
- "multiple": false
373
+ "name": "service",
374
+ "hasDynamicHelp": false,
375
+ "multiple": false,
376
+ "type": "option"
281
377
  }
282
378
  },
283
- "args": {}
284
- },
285
- "service:stop": {
286
- "id": "service:stop",
287
- "description": "stop a service",
288
- "strict": true,
289
- "pluginName": "@chabokan.net/cli",
379
+ "hasDynamicHelp": false,
380
+ "hiddenAliases": [],
381
+ "id": "service:start",
290
382
  "pluginAlias": "@chabokan.net/cli",
383
+ "pluginName": "@chabokan.net/cli",
291
384
  "pluginType": "core",
385
+ "strict": true,
386
+ "enableJsonFlag": false,
387
+ "isESM": true,
388
+ "relativePath": [
389
+ "lib",
390
+ "commands",
391
+ "service",
392
+ "start.js"
393
+ ]
394
+ },
395
+ "service:stop": {
292
396
  "aliases": [],
397
+ "args": {},
398
+ "description": "stop a service",
293
399
  "flags": {
294
400
  "help": {
295
- "name": "help",
296
- "type": "boolean",
297
401
  "char": "h",
298
402
  "description": "Show CLI help.",
299
- "allowNo": false
403
+ "name": "help",
404
+ "allowNo": false,
405
+ "type": "boolean"
300
406
  },
301
407
  "service": {
302
- "name": "service",
303
- "type": "option",
304
408
  "char": "s",
305
409
  "description": "service name",
306
- "multiple": false
410
+ "name": "service",
411
+ "hasDynamicHelp": false,
412
+ "multiple": false,
413
+ "type": "option"
307
414
  }
308
415
  },
309
- "args": {}
416
+ "hasDynamicHelp": false,
417
+ "hiddenAliases": [],
418
+ "id": "service:stop",
419
+ "pluginAlias": "@chabokan.net/cli",
420
+ "pluginName": "@chabokan.net/cli",
421
+ "pluginType": "core",
422
+ "strict": true,
423
+ "enableJsonFlag": false,
424
+ "isESM": true,
425
+ "relativePath": [
426
+ "lib",
427
+ "commands",
428
+ "service",
429
+ "stop.js"
430
+ ]
310
431
  }
311
- }
432
+ },
433
+ "version": "0.8.7"
312
434
  }