@s-analytics/cli 0.1.0 → 0.1.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 +10 -0
- package/package.json +6 -32
- package/published.js +174 -0
- package/dist/published.js +0 -174
package/README.md
CHANGED
|
@@ -19,4 +19,14 @@ s login --server-url https://s.example.com
|
|
|
19
19
|
s whoami
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
+
Set `S_CLI_SERVER_URL` to target the same S server for every command without passing `--server-url`.
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
export S_CLI_SERVER_URL=https://s.example.com
|
|
26
|
+
s login
|
|
27
|
+
s whoami
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
The `--server-url` flag overrides the environment variable for one command.
|
|
31
|
+
|
|
22
32
|
Run `s --help` to list commands and `s <command> --help` to inspect a command.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@s-analytics/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Command-line interface for S Analytics.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -10,42 +10,16 @@
|
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"bin": {
|
|
13
|
-
"s": "./
|
|
13
|
+
"s": "./published.js"
|
|
14
14
|
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist",
|
|
17
|
-
"README.md"
|
|
18
|
-
],
|
|
19
15
|
"engines": {
|
|
20
16
|
"node": ">=20"
|
|
21
17
|
},
|
|
22
18
|
"publishConfig": {
|
|
23
19
|
"access": "public"
|
|
24
20
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"lint": "eslint .",
|
|
30
|
-
"format": "prettier --write .",
|
|
31
|
-
"format:check": "prettier --check .",
|
|
32
|
-
"typecheck": "bunx tsc --noEmit",
|
|
33
|
-
"quality:checks": "bun run format:check && bun run lint && bun run typecheck"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@elysia/eden": "catalog:",
|
|
37
|
-
"@workspace/cli-common": "workspace:*",
|
|
38
|
-
"commander": "^14.0.3",
|
|
39
|
-
"env-paths": "^4.0.0",
|
|
40
|
-
"yaml": "catalog:",
|
|
41
|
-
"@eslint/js": "catalog:",
|
|
42
|
-
"@types/bun": "catalog:",
|
|
43
|
-
"@workspace/eslint-config-typescript": "workspace:*",
|
|
44
|
-
"elysia": "catalog:",
|
|
45
|
-
"eslint": "catalog:",
|
|
46
|
-
"eslint-plugin-import": "catalog:",
|
|
47
|
-
"prettier": "catalog:",
|
|
48
|
-
"typescript": "catalog:",
|
|
49
|
-
"typescript-eslint": "catalog:"
|
|
50
|
-
}
|
|
21
|
+
"files": [
|
|
22
|
+
"published.js",
|
|
23
|
+
"README.md"
|
|
24
|
+
]
|
|
51
25
|
}
|