@skillgate-io/cli 1.0.1 → 1.2.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 +18 -46
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,72 +1,44 @@
|
|
|
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="https://raw.githubusercontent.com/skillgate-io/skillgate/main/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
|
-
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
python -m pip install --upgrade skillgate
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
### Required environment variables
|
|
51
|
-
|
|
52
|
-
At minimum, set an API key before entitlement-resolved CLI commands:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
export SKILLGATE_API_KEY="sg_free_or_paid_key_here"
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
Optional (only when needed):
|
|
36
|
+
Optional explicit Python path:
|
|
59
37
|
|
|
60
38
|
```bash
|
|
61
|
-
|
|
39
|
+
SKILLGATE_PYTHON=/path/to/python skillgate --help
|
|
62
40
|
```
|
|
63
41
|
|
|
64
|
-
|
|
42
|
+
## SEO Keywords
|
|
65
43
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
If needed, force a Python executable:
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
SKILLGATE_PYTHON=/path/to/python skillgate version
|
|
72
|
-
```
|
|
44
|
+
`npm ai security cli`, `codex cli security`, `claude code governance`, `runtime policy firewall`.
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skillgate-io/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "Optional npm/npx wrapper for SkillGate CLI (Python core runtime)",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
7
7
|
"bin": {
|
|
8
8
|
"skillgate": "bin/skillgate.js"
|