@chabokan.net/cli 0.8.5 → 0.8.6

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 CHANGED
@@ -18,7 +18,7 @@ $ npm install -g @chabokan.net/cli
18
18
  $ chabok COMMAND
19
19
  running command...
20
20
  $ chabok (--version|-v)
21
- @chabokan.net/cli/0.8.5 darwin-arm64 node-v18.12.1
21
+ @chabokan.net/cli/0.8.6 darwin-arm64 node-v18.12.1
22
22
  $ chabok --help [COMMAND]
23
23
  USAGE
24
24
  $ chabok COMMAND
@@ -134,7 +134,7 @@ DESCRIPTION
134
134
  this command help you build and deploy your service to chabokan in easy way.
135
135
  ```
136
136
 
137
- _See code: [src/commands/deploy.ts](https://github.com/chabokan/cli/blob/v0.8.5/src/commands/deploy.ts)_
137
+ _See code: [src/commands/deploy.ts](https://github.com/chabokan/cli/blob/v0.8.6/src/commands/deploy.ts)_
138
138
 
139
139
  ## `chabok help [COMMANDS]`
140
140
 
@@ -174,7 +174,7 @@ DESCRIPTION
174
174
  login to hub.chabokan.net account
175
175
  ```
176
176
 
177
- _See code: [src/commands/login.ts](https://github.com/chabokan/cli/blob/v0.8.5/src/commands/login.ts)_
177
+ _See code: [src/commands/login.ts](https://github.com/chabokan/cli/blob/v0.8.6/src/commands/login.ts)_
178
178
 
179
179
  ## `chabok service list`
180
180
 
@@ -11,7 +11,7 @@ class ServiceResize extends base_1.default {
11
11
  async run() {
12
12
  const { args, flags } = await this.parse(ServiceResize);
13
13
  const cli = this;
14
- this.init_run();
14
+ await this.init_run();
15
15
  const config_json = await this.read_config();
16
16
  let selected_service = flags.service;
17
17
  let selected_ram = flags.ram;
@@ -11,7 +11,7 @@ class ServiceRestart extends base_1.default {
11
11
  async run() {
12
12
  const { args, flags } = await this.parse(ServiceRestart);
13
13
  const cli = this;
14
- this.init_run();
14
+ await this.init_run();
15
15
  const config_json = await this.read_config();
16
16
  let selected_service = flags.service;
17
17
  if ((0, helper_1.isEmptyObject)(config_json.users)) {
@@ -11,7 +11,7 @@ class ServiceStart extends base_1.default {
11
11
  async run() {
12
12
  const { args, flags } = await this.parse(ServiceStart);
13
13
  const cli = this;
14
- this.init_run();
14
+ await this.init_run();
15
15
  const config_json = await this.read_config();
16
16
  let selected_service = flags.service;
17
17
  if ((0, helper_1.isEmptyObject)(config_json.users)) {
@@ -11,7 +11,7 @@ class ServiceStop extends base_1.default {
11
11
  async run() {
12
12
  const { args, flags } = await this.parse(ServiceStop);
13
13
  const cli = this;
14
- this.init_run();
14
+ await this.init_run();
15
15
  const config_json = await this.read_config();
16
16
  let selected_service = flags.service;
17
17
  if ((0, helper_1.isEmptyObject)(config_json.users)) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.8.5",
2
+ "version": "0.8.6",
3
3
  "commands": {
4
4
  "deploy": {
5
5
  "id": "deploy",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chabokan.net/cli",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "Chabokan Cli for PaaS Services",
5
5
  "author": "Mohammad Abdi",
6
6
  "bin": {