@chabokan.net/cli 0.8.9 → 0.8.10
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.
- package/README.md +25 -24
- package/dist/base.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +106 -106
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ $ npm install -g @chabokan.net/cli
|
|
|
20
20
|
$ chabok COMMAND
|
|
21
21
|
running command...
|
|
22
22
|
$ chabok (--version|-v)
|
|
23
|
-
@chabokan.net/cli/0.8.
|
|
23
|
+
@chabokan.net/cli/0.8.10 darwin-arm64 node-v20.13.1
|
|
24
24
|
$ chabok --help [COMMAND]
|
|
25
25
|
USAGE
|
|
26
26
|
$ chabok COMMAND
|
|
@@ -69,7 +69,7 @@ DESCRIPTION
|
|
|
69
69
|
show accounts list
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
_See code: [src/commands/account/list.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
72
|
+
_See code: [src/commands/account/list.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/account/list.ts)_
|
|
73
73
|
|
|
74
74
|
## `chabok account remove`
|
|
75
75
|
|
|
@@ -86,7 +86,7 @@ DESCRIPTION
|
|
|
86
86
|
remove account from list
|
|
87
87
|
```
|
|
88
88
|
|
|
89
|
-
_See code: [src/commands/account/remove.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
89
|
+
_See code: [src/commands/account/remove.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/account/remove.ts)_
|
|
90
90
|
|
|
91
91
|
## `chabok account use`
|
|
92
92
|
|
|
@@ -104,7 +104,7 @@ DESCRIPTION
|
|
|
104
104
|
switch your default user between logged in users
|
|
105
105
|
```
|
|
106
106
|
|
|
107
|
-
_See code: [src/commands/account/use.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
107
|
+
_See code: [src/commands/account/use.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/account/use.ts)_
|
|
108
108
|
|
|
109
109
|
## `chabok autocomplete [SHELL]`
|
|
110
110
|
|
|
@@ -135,7 +135,7 @@ EXAMPLES
|
|
|
135
135
|
$ chabok autocomplete --refresh-cache
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
-
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.
|
|
138
|
+
_See code: [@oclif/plugin-autocomplete](https://github.com/oclif/plugin-autocomplete/blob/v3.2.31/src/commands/autocomplete/index.ts)_
|
|
139
139
|
|
|
140
140
|
## `chabok deploy`
|
|
141
141
|
|
|
@@ -154,7 +154,7 @@ DESCRIPTION
|
|
|
154
154
|
this command help you build and deploy your service to chabokan in easy way.
|
|
155
155
|
```
|
|
156
156
|
|
|
157
|
-
_See code: [src/commands/deploy.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
157
|
+
_See code: [src/commands/deploy.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/deploy.ts)_
|
|
158
158
|
|
|
159
159
|
## `chabok help [COMMAND]`
|
|
160
160
|
|
|
@@ -174,7 +174,7 @@ DESCRIPTION
|
|
|
174
174
|
Display help for chabok.
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.
|
|
177
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.29/src/commands/help.ts)_
|
|
178
178
|
|
|
179
179
|
## `chabok login`
|
|
180
180
|
|
|
@@ -194,7 +194,7 @@ DESCRIPTION
|
|
|
194
194
|
login to hub.chabokan.net account
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
_See code: [src/commands/login.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
197
|
+
_See code: [src/commands/login.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/login.ts)_
|
|
198
198
|
|
|
199
199
|
## `chabok plugins`
|
|
200
200
|
|
|
@@ -217,7 +217,7 @@ EXAMPLES
|
|
|
217
217
|
$ chabok plugins
|
|
218
218
|
```
|
|
219
219
|
|
|
220
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
220
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/index.ts)_
|
|
221
221
|
|
|
222
222
|
## `chabok plugins add PLUGIN`
|
|
223
223
|
|
|
@@ -242,7 +242,7 @@ GLOBAL FLAGS
|
|
|
242
242
|
DESCRIPTION
|
|
243
243
|
Installs a plugin into chabok.
|
|
244
244
|
|
|
245
|
-
Uses
|
|
245
|
+
Uses npm to install plugins.
|
|
246
246
|
|
|
247
247
|
Installation of a user-installed plugin will override a core plugin.
|
|
248
248
|
|
|
@@ -291,7 +291,7 @@ EXAMPLES
|
|
|
291
291
|
$ chabok plugins inspect myplugin
|
|
292
292
|
```
|
|
293
293
|
|
|
294
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
294
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/inspect.ts)_
|
|
295
295
|
|
|
296
296
|
## `chabok plugins install PLUGIN`
|
|
297
297
|
|
|
@@ -316,7 +316,7 @@ GLOBAL FLAGS
|
|
|
316
316
|
DESCRIPTION
|
|
317
317
|
Installs a plugin into chabok.
|
|
318
318
|
|
|
319
|
-
Uses
|
|
319
|
+
Uses npm to install plugins.
|
|
320
320
|
|
|
321
321
|
Installation of a user-installed plugin will override a core plugin.
|
|
322
322
|
|
|
@@ -340,7 +340,7 @@ EXAMPLES
|
|
|
340
340
|
$ chabok plugins install someuser/someplugin
|
|
341
341
|
```
|
|
342
342
|
|
|
343
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
343
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/install.ts)_
|
|
344
344
|
|
|
345
345
|
## `chabok plugins link PATH`
|
|
346
346
|
|
|
@@ -360,6 +360,7 @@ FLAGS
|
|
|
360
360
|
|
|
361
361
|
DESCRIPTION
|
|
362
362
|
Links a plugin into the CLI for development.
|
|
363
|
+
|
|
363
364
|
Installation of a linked plugin will override a user-installed or core plugin.
|
|
364
365
|
|
|
365
366
|
e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
|
|
@@ -370,7 +371,7 @@ EXAMPLES
|
|
|
370
371
|
$ chabok plugins link myplugin
|
|
371
372
|
```
|
|
372
373
|
|
|
373
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
374
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/link.ts)_
|
|
374
375
|
|
|
375
376
|
## `chabok plugins remove [PLUGIN]`
|
|
376
377
|
|
|
@@ -411,7 +412,7 @@ FLAGS
|
|
|
411
412
|
--reinstall Reinstall all plugins after uninstalling.
|
|
412
413
|
```
|
|
413
414
|
|
|
414
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
415
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/reset.ts)_
|
|
415
416
|
|
|
416
417
|
## `chabok plugins uninstall [PLUGIN]`
|
|
417
418
|
|
|
@@ -439,7 +440,7 @@ EXAMPLES
|
|
|
439
440
|
$ chabok plugins uninstall myplugin
|
|
440
441
|
```
|
|
441
442
|
|
|
442
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
443
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/uninstall.ts)_
|
|
443
444
|
|
|
444
445
|
## `chabok plugins unlink [PLUGIN]`
|
|
445
446
|
|
|
@@ -483,7 +484,7 @@ DESCRIPTION
|
|
|
483
484
|
Update installed plugins.
|
|
484
485
|
```
|
|
485
486
|
|
|
486
|
-
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.
|
|
487
|
+
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v5.4.43/src/commands/plugins/update.ts)_
|
|
487
488
|
|
|
488
489
|
## `chabok service list`
|
|
489
490
|
|
|
@@ -500,7 +501,7 @@ DESCRIPTION
|
|
|
500
501
|
show account services list
|
|
501
502
|
```
|
|
502
503
|
|
|
503
|
-
_See code: [src/commands/service/list.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
504
|
+
_See code: [src/commands/service/list.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/service/list.ts)_
|
|
504
505
|
|
|
505
506
|
## `chabok service logs`
|
|
506
507
|
|
|
@@ -518,7 +519,7 @@ DESCRIPTION
|
|
|
518
519
|
read latest logs from service
|
|
519
520
|
```
|
|
520
521
|
|
|
521
|
-
_See code: [src/commands/service/logs.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
522
|
+
_See code: [src/commands/service/logs.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/service/logs.ts)_
|
|
522
523
|
|
|
523
524
|
## `chabok service resize`
|
|
524
525
|
|
|
@@ -539,7 +540,7 @@ DESCRIPTION
|
|
|
539
540
|
resize a service
|
|
540
541
|
```
|
|
541
542
|
|
|
542
|
-
_See code: [src/commands/service/resize.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
543
|
+
_See code: [src/commands/service/resize.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/service/resize.ts)_
|
|
543
544
|
|
|
544
545
|
## `chabok service restart`
|
|
545
546
|
|
|
@@ -557,7 +558,7 @@ DESCRIPTION
|
|
|
557
558
|
restart a service
|
|
558
559
|
```
|
|
559
560
|
|
|
560
|
-
_See code: [src/commands/service/restart.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
561
|
+
_See code: [src/commands/service/restart.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/service/restart.ts)_
|
|
561
562
|
|
|
562
563
|
## `chabok service start`
|
|
563
564
|
|
|
@@ -575,7 +576,7 @@ DESCRIPTION
|
|
|
575
576
|
start a service
|
|
576
577
|
```
|
|
577
578
|
|
|
578
|
-
_See code: [src/commands/service/start.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
579
|
+
_See code: [src/commands/service/start.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/service/start.ts)_
|
|
579
580
|
|
|
580
581
|
## `chabok service stop`
|
|
581
582
|
|
|
@@ -593,7 +594,7 @@ DESCRIPTION
|
|
|
593
594
|
stop a service
|
|
594
595
|
```
|
|
595
596
|
|
|
596
|
-
_See code: [src/commands/service/stop.ts](https://github.com/chabokan/cli/blob/v0.8.
|
|
597
|
+
_See code: [src/commands/service/stop.ts](https://github.com/chabokan/cli/blob/v0.8.10/src/commands/service/stop.ts)_
|
|
597
598
|
|
|
598
599
|
## `chabok version`
|
|
599
600
|
|
|
@@ -613,5 +614,5 @@ FLAG DESCRIPTIONS
|
|
|
613
614
|
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
|
|
614
615
|
```
|
|
615
616
|
|
|
616
|
-
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.
|
|
617
|
+
_See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/v2.2.30/src/commands/version.ts)_
|
|
617
618
|
<!-- commandsstop -->
|
package/dist/base.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export default abstract class extends Command {
|
|
|
4
4
|
help: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<void>;
|
|
5
5
|
};
|
|
6
6
|
axiosConfig: any;
|
|
7
|
-
got: import("got").Got
|
|
7
|
+
got: import("got").Got<never>;
|
|
8
8
|
read_config(): Promise<{
|
|
9
9
|
users: {};
|
|
10
10
|
default_user: string;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chabokan.net/cli",
|
|
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
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
3
|
+
"version": "0.8.10",
|
|
4
|
+
"description": "Chabokan Cli for PaaS Services",
|
|
5
|
+
"author": "Mohammad Abdi",
|
|
6
|
+
"bin": {
|
|
7
|
+
"chabok": "./bin/run.js"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@oclif/core": "3.27.0",
|
|
11
|
+
"@oclif/plugin-autocomplete": "^3.2.31",
|
|
12
|
+
"@oclif/plugin-help": "^6",
|
|
13
|
+
"@oclif/plugin-plugins": "^5",
|
|
14
|
+
"@oclif/plugin-version": "^2.2.30",
|
|
15
|
+
"axios": "^1.10.0",
|
|
16
|
+
"boxen": "^8.0.1",
|
|
17
|
+
"chalk": "^5.4.1",
|
|
18
|
+
"form-data": "^4.0.3",
|
|
19
|
+
"fs-extra": "^11.3.0",
|
|
20
|
+
"globby": "^14.1.0",
|
|
21
|
+
"got": "^14.4.7",
|
|
22
|
+
"https-proxy-agent": "^7.0.6",
|
|
23
|
+
"ignore": "5.3.1",
|
|
24
|
+
"inquirer": "^12.7.0",
|
|
25
|
+
"package-json": "^10.0.1",
|
|
26
|
+
"progress": "^2.0.3",
|
|
27
|
+
"semver": "^7.7.2",
|
|
28
|
+
"semver-diff": "^4.0.0",
|
|
29
|
+
"tar": "^7.4.3"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@oclif/prettier-config": "^0.2.1",
|
|
33
|
+
"@oclif/test": "^4",
|
|
34
|
+
"@types/chai": "^5",
|
|
35
|
+
"@types/fs-extra": "^11.0.4",
|
|
36
|
+
"@types/inquirer": "^9.0.8",
|
|
37
|
+
"@types/mocha": "^10",
|
|
38
|
+
"@types/node": "^24",
|
|
39
|
+
"@types/progress": "^2.0.7",
|
|
40
|
+
"@types/semver": "^7.7.0",
|
|
41
|
+
"@types/tar": "^6.1.13",
|
|
42
|
+
"chai": "^5",
|
|
43
|
+
"eslint": "^9",
|
|
44
|
+
"eslint-config-oclif": "^6",
|
|
45
|
+
"eslint-config-oclif-typescript": "^3",
|
|
46
|
+
"eslint-config-prettier": "^10",
|
|
47
|
+
"mocha": "^11",
|
|
48
|
+
"oclif": "^4",
|
|
49
|
+
"shx": "^0.4.0",
|
|
50
|
+
"ts-node": "^10",
|
|
51
|
+
"typescript": "^5"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"/bin",
|
|
55
|
+
"/dist",
|
|
56
|
+
"/oclif.manifest.json"
|
|
57
|
+
],
|
|
58
|
+
"homepage": "https://github.com/chabokan/cli",
|
|
59
|
+
"license": "MIT",
|
|
60
|
+
"main": "dist/index.js",
|
|
61
|
+
"type": "module",
|
|
62
|
+
"oclif": {
|
|
63
|
+
"bin": "chabok",
|
|
64
|
+
"dirname": "cli",
|
|
65
|
+
"commands": "./dist/commands",
|
|
66
|
+
"additionalHelpFlags": [
|
|
67
|
+
"-h"
|
|
57
68
|
],
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
"main": "dist/index.js",
|
|
61
|
-
"type": "module",
|
|
62
|
-
"oclif": {
|
|
63
|
-
"bin": "chabok",
|
|
64
|
-
"dirname": "cli",
|
|
65
|
-
"commands": "./dist/commands",
|
|
66
|
-
"additionalHelpFlags": [
|
|
67
|
-
"-h"
|
|
68
|
-
],
|
|
69
|
-
"additionalVersionFlags": [
|
|
70
|
-
"-v"
|
|
71
|
-
],
|
|
72
|
-
"plugins": [
|
|
73
|
-
"@oclif/plugin-help",
|
|
74
|
-
"@oclif/plugin-plugins",
|
|
75
|
-
"@oclif/plugin-autocomplete",
|
|
76
|
-
"@oclif/plugin-version"
|
|
77
|
-
],
|
|
78
|
-
"topicSeparator": " ",
|
|
79
|
-
"topics": {
|
|
80
|
-
"account": {
|
|
81
|
-
"description": "display commands for working with accounts"
|
|
82
|
-
},
|
|
83
|
-
"service": {
|
|
84
|
-
"description": "display commands for working with services"
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"repository": "chabokan/cli",
|
|
89
|
-
"scripts": {
|
|
90
|
-
"build": "shx rm -rf dist && tsc -b",
|
|
91
|
-
"lint": "eslint . --ext .ts",
|
|
92
|
-
"postpack": "shx rm -f oclif.manifest.json",
|
|
93
|
-
"posttest": "npm run lint",
|
|
94
|
-
"prepack": "oclif manifest && oclif readme",
|
|
95
|
-
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
96
|
-
"version": "oclif readme && git add README.md"
|
|
97
|
-
},
|
|
98
|
-
"engines": {
|
|
99
|
-
"node": ">=18.18.0"
|
|
100
|
-
},
|
|
101
|
-
"bugs": "https://github.com/chabokan/cli/issues",
|
|
102
|
-
"keywords": [
|
|
103
|
-
"chabokan",
|
|
104
|
-
"chabok cli",
|
|
105
|
-
"deploy",
|
|
106
|
-
"deployment",
|
|
107
|
-
"cloud",
|
|
108
|
-
"docker"
|
|
69
|
+
"additionalVersionFlags": [
|
|
70
|
+
"-v"
|
|
109
71
|
],
|
|
110
|
-
"
|
|
72
|
+
"plugins": [
|
|
73
|
+
"@oclif/plugin-help",
|
|
74
|
+
"@oclif/plugin-plugins",
|
|
75
|
+
"@oclif/plugin-autocomplete",
|
|
76
|
+
"@oclif/plugin-version"
|
|
77
|
+
],
|
|
78
|
+
"topicSeparator": " ",
|
|
79
|
+
"topics": {
|
|
80
|
+
"account": {
|
|
81
|
+
"description": "display commands for working with accounts"
|
|
82
|
+
},
|
|
83
|
+
"service": {
|
|
84
|
+
"description": "display commands for working with services"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"repository": "chabokan/cli",
|
|
89
|
+
"scripts": {
|
|
90
|
+
"build": "shx rm -rf dist && tsc -b",
|
|
91
|
+
"lint": "eslint . --ext .ts",
|
|
92
|
+
"postpack": "shx rm -f oclif.manifest.json",
|
|
93
|
+
"posttest": "npm run lint",
|
|
94
|
+
"prepack": "oclif manifest && oclif readme",
|
|
95
|
+
"test": "mocha --forbid-only \"test/**/*.test.ts\"",
|
|
96
|
+
"version": "oclif readme && git add README.md"
|
|
97
|
+
},
|
|
98
|
+
"engines": {
|
|
99
|
+
"node": ">=18.18.0"
|
|
100
|
+
},
|
|
101
|
+
"bugs": "https://github.com/chabokan/cli/issues",
|
|
102
|
+
"keywords": [
|
|
103
|
+
"chabokan",
|
|
104
|
+
"chabok cli",
|
|
105
|
+
"deploy",
|
|
106
|
+
"deployment",
|
|
107
|
+
"cloud",
|
|
108
|
+
"docker"
|
|
109
|
+
],
|
|
110
|
+
"types": "dist/index.d.ts"
|
|
111
111
|
}
|