tmex-cli 0.1.4

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 ADDED
@@ -0,0 +1,17 @@
1
+ # tmex-cli
2
+
3
+ Node.js-compatible CLI for initializing, diagnosing, upgrading, and uninstalling tmex deployment.
4
+
5
+ Use from npm:
6
+ - `npx tmex-cli init`
7
+ - `npx tmex-cli doctor`
8
+ - `npx tmex-cli upgrade`
9
+ - `npx tmex-cli uninstall`
10
+
11
+ Commands:
12
+ - `tmex init`
13
+ - `tmex doctor`
14
+ - `tmex upgrade`
15
+ - `tmex uninstall`
16
+
17
+ Use `--lang en` or `--lang zh-CN` to switch CLI language.
package/bin/tmex.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { main } from '../dist/cli-node.js';
4
+
5
+ main().catch((error) => {
6
+ console.error(error instanceof Error ? error.message : String(error));
7
+ process.exitCode = 1;
8
+ });