@skillgate-io/cli 1.0.1 → 1.2.0
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 +24 -41
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,72 +1,55 @@
|
|
|
1
1
|
# @skillgate-io/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Node entrypoint for SkillGate CLI.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
-
|
|
7
|
-
|
|
8
|
-
- This wrapper does not auto-install Python or SkillGate.
|
|
5
|
+
<p>
|
|
6
|
+
<img src="../web-ui/public/images/hero-shield.svg" alt="SkillGate shield" width="64" />
|
|
7
|
+
</p>
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
- Use Python install path for the simplest setup.
|
|
12
|
-
- Use this npm package only if you prefer Node-based command entrypoint.
|
|
9
|
+
## What this package is
|
|
13
10
|
|
|
14
|
-
|
|
11
|
+
- A thin npm wrapper.
|
|
12
|
+
- It forwards to the Python `skillgate` runtime.
|
|
13
|
+
- It does not bundle the scan/enforcement engine.
|
|
15
14
|
|
|
16
|
-
|
|
15
|
+
## Install and run
|
|
17
16
|
|
|
18
17
|
```bash
|
|
19
18
|
npm install -g @skillgate-io/cli
|
|
20
|
-
skillgate
|
|
19
|
+
skillgate --help
|
|
21
20
|
```
|
|
22
21
|
|
|
23
|
-
|
|
22
|
+
With `npx`:
|
|
24
23
|
|
|
25
24
|
```bash
|
|
26
|
-
npx @skillgate-io/cli
|
|
25
|
+
npx @skillgate-io/cli --help
|
|
27
26
|
```
|
|
28
27
|
|
|
29
|
-
|
|
28
|
+
## Required runtime
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
pipx install skillgate
|
|
33
|
-
skillgate version
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
## Prerequisites
|
|
37
|
-
|
|
38
|
-
Install Python runtime first (required):
|
|
30
|
+
Install Python runtime first:
|
|
39
31
|
|
|
40
32
|
```bash
|
|
41
33
|
pipx install skillgate
|
|
42
34
|
```
|
|
43
35
|
|
|
44
|
-
|
|
36
|
+
Optional explicit Python path:
|
|
45
37
|
|
|
46
38
|
```bash
|
|
47
|
-
python
|
|
39
|
+
SKILLGATE_PYTHON=/path/to/python skillgate --help
|
|
48
40
|
```
|
|
49
41
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
At minimum, set an API key before entitlement-resolved CLI commands:
|
|
42
|
+
## Publish (maintainers)
|
|
53
43
|
|
|
54
44
|
```bash
|
|
55
|
-
|
|
45
|
+
cd npm-shim
|
|
46
|
+
NPM_CONFIG_CACHE=../.npm-cache npm pack
|
|
47
|
+
NPM_CONFIG_CACHE=../.npm-cache npm publish --dry-run
|
|
48
|
+
NPM_CONFIG_CACHE=../.npm-cache npm publish --access public
|
|
56
49
|
```
|
|
57
50
|
|
|
58
|
-
|
|
51
|
+
Runbook: [`docs/Release/PUBLISH-NPM.md`](../docs/Release/PUBLISH-NPM.md)
|
|
59
52
|
|
|
60
|
-
|
|
61
|
-
export SKILLGATE_API_URL="https://api.skillgate.io"
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
Full variable reference: `../.env.example` in the repository.
|
|
65
|
-
|
|
66
|
-
## Python override
|
|
53
|
+
## SEO Keywords
|
|
67
54
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
SKILLGATE_PYTHON=/path/to/python skillgate version
|
|
72
|
-
```
|
|
55
|
+
`npm ai security cli`, `codex cli security`, `claude code governance`, `runtime policy firewall`.
|