hypha-cli 0.1.4 → 0.1.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/bin/postinstall.mjs +22 -0
- package/package.json +2 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
console.log(`
|
|
4
|
+
✅ hypha-cli installed!
|
|
5
|
+
|
|
6
|
+
👉 Run with: npx hypha-cli <command>
|
|
7
|
+
|
|
8
|
+
Examples:
|
|
9
|
+
npx hypha-cli login Login to Hypha Cloud
|
|
10
|
+
npx hypha-cli artifacts ls List artifacts
|
|
11
|
+
npx hypha-cli apps ps List running apps
|
|
12
|
+
npx hypha-cli --help Show all commands
|
|
13
|
+
|
|
14
|
+
💡 Why 'npx hypha-cli' instead of 'hypha'?
|
|
15
|
+
The legacy Python hypha server package also provides 'hypha' and
|
|
16
|
+
'hypha-cli' commands. Using 'npx hypha-cli' avoids conflicts.
|
|
17
|
+
|
|
18
|
+
🐍 To use the 'hypha' command directly, upgrade the Python package:
|
|
19
|
+
pip install -U hypha
|
|
20
|
+
This will make 'hypha' point to the Hypha CLI for interacting
|
|
21
|
+
with the Hypha server.
|
|
22
|
+
`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hypha-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Hypha Cloud CLI — manage workspaces, apps, and artifacts",
|
|
5
5
|
"author": "Amun AI AB",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
"./cli": "./dist/cli.mjs"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
|
+
"postinstall": "node bin/postinstall.mjs",
|
|
21
22
|
"build": "tsc --noEmit && pkgroll",
|
|
22
23
|
"typecheck": "tsc --noEmit",
|
|
23
24
|
"test": "npx tsx test/test-cli-routing.mjs && npx tsx test/test-artifact-path.mjs && npx tsx test/test-apps-commands.mjs && npx tsx test/test-artifacts-commands.mjs && npx tsx test/test-helpers.mjs",
|