@chabokan.net/cli 0.8.15 → 0.9.1

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.
Files changed (54) hide show
  1. package/README.md +520 -66
  2. package/dist/base.d.ts +30 -7
  3. package/dist/base.js +163 -14
  4. package/dist/commands/account/info.d.ts +12 -0
  5. package/dist/commands/account/info.js +40 -0
  6. package/dist/commands/account/list.d.ts +5 -1
  7. package/dist/commands/account/list.js +29 -19
  8. package/dist/commands/account/remove.d.ts +5 -1
  9. package/dist/commands/account/remove.js +23 -12
  10. package/dist/commands/account/use.d.ts +6 -2
  11. package/dist/commands/account/use.js +22 -11
  12. package/dist/commands/cloudserver/create.d.ts +40 -0
  13. package/dist/commands/cloudserver/create.js +242 -0
  14. package/dist/commands/cloudserver/delete.d.ts +14 -0
  15. package/dist/commands/cloudserver/delete.js +65 -0
  16. package/dist/commands/cloudserver/list.d.ts +12 -0
  17. package/dist/commands/cloudserver/list.js +46 -0
  18. package/dist/commands/cloudserver/restart.d.ts +13 -0
  19. package/dist/commands/cloudserver/restart.js +51 -0
  20. package/dist/commands/cloudserver/start.d.ts +13 -0
  21. package/dist/commands/cloudserver/start.js +51 -0
  22. package/dist/commands/cloudserver/stop.d.ts +13 -0
  23. package/dist/commands/cloudserver/stop.js +52 -0
  24. package/dist/commands/deploy.d.ts +13 -3
  25. package/dist/commands/deploy.js +96 -60
  26. package/dist/commands/login.d.ts +8 -4
  27. package/dist/commands/login.js +69 -41
  28. package/dist/commands/service/domain/add.d.ts +15 -0
  29. package/dist/commands/service/domain/add.js +74 -0
  30. package/dist/commands/service/domain/remove.d.ts +15 -0
  31. package/dist/commands/service/domain/remove.js +72 -0
  32. package/dist/commands/service/list.d.ts +5 -1
  33. package/dist/commands/service/list.js +29 -21
  34. package/dist/commands/service/logs.d.ts +6 -2
  35. package/dist/commands/service/logs.js +33 -30
  36. package/dist/commands/service/resize.d.ts +9 -5
  37. package/dist/commands/service/resize.js +73 -69
  38. package/dist/commands/service/restart.d.ts +6 -2
  39. package/dist/commands/service/restart.js +28 -32
  40. package/dist/commands/service/start.d.ts +6 -2
  41. package/dist/commands/service/start.js +29 -31
  42. package/dist/commands/service/stop.d.ts +6 -2
  43. package/dist/commands/service/stop.js +29 -31
  44. package/dist/commands/wallet/list.d.ts +12 -0
  45. package/dist/commands/wallet/list.js +41 -0
  46. package/dist/constants.d.ts +2 -0
  47. package/dist/constants.js +7 -2
  48. package/dist/helper.d.ts +23 -7
  49. package/dist/helper.js +294 -113
  50. package/dist/types.d.ts +28 -8
  51. package/dist/ui.d.ts +23 -0
  52. package/dist/ui.js +70 -0
  53. package/oclif.manifest.json +635 -25
  54. package/package.json +39 -35
package/package.json CHANGED
@@ -1,54 +1,49 @@
1
1
  {
2
2
  "name": "@chabokan.net/cli",
3
- "version": "0.8.15",
3
+ "version": "0.9.1",
4
4
  "description": "Chabokan Cli for PaaS Services",
5
5
  "author": "Mohammad Abdi",
6
6
  "bin": {
7
7
  "chabok": "./bin/run.js"
8
8
  },
9
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",
10
+ "@oclif/core": "^4.13.0",
11
+ "@oclif/plugin-autocomplete": "^3.2.53",
12
+ "@oclif/plugin-help": "^6.2.53",
13
+ "@oclif/plugin-plugins": "^5.4.85",
14
+ "@oclif/plugin-version": "^2.2.51",
15
+ "@oclif/table": "^0.5.9",
16
+ "axios": "^1.18.1",
16
17
  "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",
18
+ "chalk": "^5.6.2",
19
+ "form-data": "^4.0.6",
20
+ "fs-extra": "^11.4.0",
21
+ "got": "^14.6.6",
22
+ "https-proxy-agent": "^9.1.0",
23
+ "ignore": "^7.0.6",
24
+ "inquirer": "^14.0.2",
26
25
  "progress": "^2.0.3",
27
- "semver": "^7.7.2",
28
- "semver-diff": "^4.0.0",
29
- "tar": "^7.4.3"
26
+ "semver": "^7.8.5",
27
+ "tar": "^7.5.22"
30
28
  },
31
29
  "devDependencies": {
32
30
  "@oclif/prettier-config": "^0.2.1",
33
- "@oclif/test": "^4",
34
- "@types/chai": "^5",
31
+ "@oclif/test": "^4.1.20",
32
+ "@types/chai": "^5.2.3",
35
33
  "@types/fs-extra": "^11.0.4",
36
- "@types/inquirer": "^9.0.8",
37
34
  "@types/mocha": "^10",
38
- "@types/node": "^24",
35
+ "@types/node": "^24.13.3",
39
36
  "@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",
37
+ "@types/semver": "^7.7.1",
38
+ "chai": "^5.3.3",
39
+ "eslint": "^9.39.5",
40
+ "eslint-config-oclif": "^6.0.177",
41
+ "eslint-config-prettier": "^10.1.8",
42
+ "mocha": "^11.7.6",
43
+ "oclif": "^4.23.29",
49
44
  "shx": "^0.4.0",
50
45
  "ts-node": "^10",
51
- "typescript": "^5"
46
+ "typescript": "^5.9.3"
52
47
  },
53
48
  "files": [
54
49
  "/bin",
@@ -80,15 +75,24 @@
80
75
  "account": {
81
76
  "description": "display commands for working with accounts"
82
77
  },
78
+ "cloudserver": {
79
+ "description": "display commands for working with cloud servers (VPS)"
80
+ },
83
81
  "service": {
84
82
  "description": "display commands for working with services"
83
+ },
84
+ "service domain": {
85
+ "description": "display commands for connecting and disconnecting custom domains"
86
+ },
87
+ "wallet": {
88
+ "description": "display commands for working with wallets"
85
89
  }
86
90
  }
87
91
  },
88
92
  "repository": "chabokan/cli",
89
93
  "scripts": {
90
94
  "build": "shx rm -rf dist && tsc -b",
91
- "lint": "eslint . --ext .ts",
95
+ "lint": "eslint .",
92
96
  "postpack": "shx rm -f oclif.manifest.json",
93
97
  "posttest": "npm run lint",
94
98
  "prepack": "oclif manifest && oclif readme",
@@ -96,7 +100,7 @@
96
100
  "version": "oclif readme && git add README.md"
97
101
  },
98
102
  "engines": {
99
- "node": ">=18.18.0"
103
+ "node": ">=20.17.0"
100
104
  },
101
105
  "bugs": "https://github.com/chabokan/cli/issues",
102
106
  "keywords": [