@mittwald/cli 1.4.4 → 1.5.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.
- package/README.md +3 -0
- package/dist/commands/container/delete.d.ts +15 -0
- package/dist/commands/container/delete.js +39 -0
- package/dist/commands/container/list.d.ts +23 -0
- package/dist/commands/container/list.js +53 -0
- package/dist/commands/container/logs.d.ts +14 -0
- package/dist/commands/container/logs.js +47 -0
- package/dist/commands/container/recreate.d.ts +20 -0
- package/dist/commands/container/recreate.js +72 -0
- package/dist/commands/container/restart.d.ts +18 -0
- package/dist/commands/container/restart.js +40 -0
- package/dist/commands/container/run.d.ts +41 -0
- package/dist/commands/container/run.js +167 -0
- package/dist/commands/container/start.d.ts +18 -0
- package/dist/commands/container/start.js +40 -0
- package/dist/commands/container/stop.d.ts +18 -0
- package/dist/commands/container/stop.js +40 -0
- package/dist/commands/container/update.d.ts +36 -0
- package/dist/commands/container/update.js +174 -0
- package/dist/commands/context/set.d.ts +1 -0
- package/dist/commands/context/set.js +8 -0
- package/dist/commands/cronjob/execution/logs.js +6 -24
- package/dist/commands/cronjob/list.d.ts +2 -3
- package/dist/commands/domain/virtualhost/create.d.ts +1 -0
- package/dist/commands/domain/virtualhost/create.js +12 -0
- package/dist/commands/extension/install.js +4 -3
- package/dist/commands/extension/list-installed.js +4 -3
- package/dist/commands/mail/address/create.d.ts +2 -1
- package/dist/commands/mail/address/create.js +2 -1
- package/dist/commands/org/membership/list-own.d.ts +3 -0
- package/dist/commands/org/membership/list.d.ts +3 -0
- package/dist/commands/registry/create.d.ts +20 -0
- package/dist/commands/registry/create.js +77 -0
- package/dist/commands/registry/delete.d.ts +13 -0
- package/dist/commands/registry/delete.js +21 -0
- package/dist/commands/registry/list.d.ts +23 -0
- package/dist/commands/registry/list.js +33 -0
- package/dist/commands/registry/update.d.ts +20 -0
- package/dist/commands/registry/update.js +73 -0
- package/dist/commands/stack/delete.d.ts +16 -0
- package/dist/commands/stack/delete.js +54 -0
- package/dist/commands/stack/deploy.d.ts +18 -0
- package/dist/commands/stack/deploy.js +75 -0
- package/dist/commands/stack/list.d.ts +24 -0
- package/dist/commands/stack/list.js +60 -0
- package/dist/commands/stack/ps.d.ts +23 -0
- package/dist/commands/stack/ps.js +51 -0
- package/dist/lib/basecommands/DeleteBaseCommand.js +1 -1
- package/dist/lib/basecommands/ExtendedBaseCommand.d.ts +1 -0
- package/dist/lib/basecommands/ExtendedBaseCommand.js +4 -0
- package/dist/lib/context/Context.d.ts +5 -2
- package/dist/lib/context/Context.js +10 -1
- package/dist/lib/context/FlagSetBuilder.d.ts +3 -4
- package/dist/lib/context/FlagSetBuilder.js +22 -15
- package/dist/lib/resources/container/containerconfig.d.ts +43 -0
- package/dist/lib/resources/container/containerconfig.js +82 -0
- package/dist/lib/resources/container/flags.d.ts +13 -0
- package/dist/lib/resources/container/flags.js +34 -0
- package/dist/lib/resources/org/flags.js +7 -1
- package/dist/lib/resources/server/flags.js +7 -1
- package/dist/lib/resources/stack/enrich.d.ts +4 -0
- package/dist/lib/resources/stack/enrich.js +55 -0
- package/dist/lib/resources/stack/env.d.ts +1 -0
- package/dist/lib/resources/stack/env.js +11 -0
- package/dist/lib/resources/stack/flags.d.ts +5 -0
- package/dist/lib/resources/stack/flags.js +2 -0
- package/dist/lib/resources/stack/loader.d.ts +5 -0
- package/dist/lib/resources/stack/loader.js +47 -0
- package/dist/lib/resources/stack/loader.test.d.ts +1 -0
- package/dist/lib/resources/stack/loader.test.js +51 -0
- package/dist/lib/resources/stack/sanitize.d.ts +10 -0
- package/dist/lib/resources/stack/sanitize.js +43 -0
- package/dist/lib/resources/stack/types.d.ts +12 -0
- package/dist/lib/resources/stack/types.js +1 -0
- package/dist/lib/util/pager.d.ts +7 -0
- package/dist/lib/util/pager.js +21 -0
- package/dist/rendering/process/process.d.ts +1 -1
- package/dist/rendering/process/process_fancy.d.ts +1 -1
- package/dist/rendering/process/process_fancy.js +2 -1
- package/dist/rendering/process/process_flags.js +1 -1
- package/dist/rendering/process/process_quiet.d.ts +1 -1
- package/dist/rendering/process/process_quiet.js +3 -0
- package/package.json +21 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Hand-crafted CLI for the mittwald API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@mittwald/api-client": "^4.131.0",
|
|
46
|
-
"@mittwald/react-use-promise": "^
|
|
46
|
+
"@mittwald/react-use-promise": "^2.6.0",
|
|
47
47
|
"@oclif/core": "^4.0.18",
|
|
48
48
|
"@oclif/plugin-autocomplete": "^3.0.3",
|
|
49
49
|
"@oclif/plugin-help": "^6.0.5",
|
|
@@ -52,12 +52,14 @@
|
|
|
52
52
|
"axios-retry": "^4.0.0",
|
|
53
53
|
"chalk": "^5.3.0",
|
|
54
54
|
"date-fns": "^4.0.0",
|
|
55
|
+
"docker-names": "^1.2.1",
|
|
56
|
+
"envfile": "^7.1.0",
|
|
55
57
|
"ink": "^5.0.1",
|
|
56
58
|
"ink-link": "^4.0.0",
|
|
57
59
|
"ink-text-input": "^6.0.0",
|
|
58
60
|
"js-yaml": "^4.1.0",
|
|
59
|
-
"marked": "^
|
|
60
|
-
"marked-terminal": "^
|
|
61
|
+
"marked": "^15.0.12",
|
|
62
|
+
"marked-terminal": "^7.3.0",
|
|
61
63
|
"open": "^10.0.3",
|
|
62
64
|
"parse-duration": "^2.0.1",
|
|
63
65
|
"pretty-bytes": "^6.1.0",
|
|
@@ -73,31 +75,27 @@
|
|
|
73
75
|
"devDependencies": {
|
|
74
76
|
"@jest/globals": "^29.7.0",
|
|
75
77
|
"@oclif/test": "^4.0.4",
|
|
76
|
-
"@types/chalk": "^2.2.0",
|
|
77
78
|
"@types/js-yaml": "^4.0.9",
|
|
78
|
-
"@types/marked-terminal": "^3.1.3",
|
|
79
79
|
"@types/node": "^22.7.5",
|
|
80
|
-
"@types/parse-duration": "^0.3.0",
|
|
81
|
-
"@types/pretty-bytes": "^5.2.0",
|
|
82
80
|
"@types/react": "^18",
|
|
83
81
|
"@types/semver": "^7.5.0",
|
|
84
82
|
"@types/shell-escape": "^0.2.3",
|
|
85
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
86
|
-
"@typescript-eslint/parser": "^8.
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
84
|
+
"@typescript-eslint/parser": "^8.35.0",
|
|
87
85
|
"@yarnpkg/pnpify": "^4.0.0-rc.48",
|
|
88
|
-
"eslint": "^9.
|
|
89
|
-
"eslint-config-prettier": "^10.
|
|
90
|
-
"eslint-plugin-json": "^4.0.
|
|
91
|
-
"eslint-plugin-prettier": "^5.1
|
|
86
|
+
"eslint": "^9.29.0",
|
|
87
|
+
"eslint-config-prettier": "^10.1.5",
|
|
88
|
+
"eslint-plugin-json": "^4.0.1",
|
|
89
|
+
"eslint-plugin-prettier": "^5.5.1",
|
|
92
90
|
"globals": "^16.0.0",
|
|
93
91
|
"jest": "^29.7.0",
|
|
94
92
|
"license-checker-rseidelsohn": "^4.2.6",
|
|
95
93
|
"nock": "^14.0.0",
|
|
96
94
|
"oclif": "^4.14.31",
|
|
97
|
-
"prettier": "
|
|
98
|
-
"prettier-plugin-jsdoc": "^1.3.
|
|
95
|
+
"prettier": "~3.5.3",
|
|
96
|
+
"prettier-plugin-jsdoc": "^1.3.2",
|
|
99
97
|
"prettier-plugin-package": "^1.4.0",
|
|
100
|
-
"prettier-plugin-sort-json": "^4.
|
|
98
|
+
"prettier-plugin-sort-json": "^4.1.1",
|
|
101
99
|
"rimraf": "^5.0.1",
|
|
102
100
|
"ts-jest": "^29.2.5",
|
|
103
101
|
"ts-node": "^10.9.2",
|
|
@@ -127,6 +125,9 @@
|
|
|
127
125
|
}
|
|
128
126
|
}
|
|
129
127
|
},
|
|
128
|
+
"registry": {
|
|
129
|
+
"description": "Manage container registries"
|
|
130
|
+
},
|
|
130
131
|
"article": {
|
|
131
132
|
"description": "Query available hosting articles"
|
|
132
133
|
},
|
|
@@ -202,6 +203,9 @@
|
|
|
202
203
|
"ssh-user": {
|
|
203
204
|
"description": "Manage SSH users of your projects"
|
|
204
205
|
},
|
|
206
|
+
"stack": {
|
|
207
|
+
"description": "Manage container stacks"
|
|
208
|
+
},
|
|
205
209
|
"user": {
|
|
206
210
|
"description": "Manage your own user account",
|
|
207
211
|
"subtopics": {
|