@kolatts/pncli 6.2.0 → 6.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/package.json +1 -1
- package/skills/pncli/jwt.md +2 -2
- package/skills/pncli/openshift.md +5 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kolatts/pncli",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.1",
|
|
4
4
|
"description": "The Paperwork Nightmare CLI — structured JSON access to Jira, Bitbucket, GitHub, Confluence, Azure DevOps, SonarQube, Jenkins, and more, built for AI coding agents. Connectivity without MCP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
package/skills/pncli/jwt.md
CHANGED
|
@@ -12,7 +12,7 @@ The JWT decode command is self-contained and does not require any configuration
|
|
|
12
12
|
pncli jwt decode <token>
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Returns structured JSON with the decoded header, payload, and raw signature:
|
|
15
|
+
Returns structured JSON with the decoded header, payload, and raw signature (shown here as `<signature>` so secret scanners don't flag the docs; the real command returns the token's base64url signature segment):
|
|
16
16
|
|
|
17
17
|
```json
|
|
18
18
|
{
|
|
@@ -29,7 +29,7 @@ Returns structured JSON with the decoded header, payload, and raw signature:
|
|
|
29
29
|
"name": "John Doe",
|
|
30
30
|
"iat": 1516239022
|
|
31
31
|
},
|
|
32
|
-
"signature": "
|
|
32
|
+
"signature": "<signature>"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
```
|
|
@@ -27,11 +27,11 @@ Example:
|
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
29
|
pncli config set openshift.environments.non-prod.instances.us-east.baseUrl https://api.np-us-east.imagile.dev:6443
|
|
30
|
-
pncli config set openshift.environments.non-prod.instances.us-east.token
|
|
30
|
+
pncli config set openshift.environments.non-prod.instances.us-east.token <token>
|
|
31
31
|
pncli config set openshift.environments.non-prod.instances.eu-west.baseUrl https://api.np-eu-west.imagile.dev:6443
|
|
32
|
-
pncli config set openshift.environments.non-prod.instances.eu-west.token
|
|
32
|
+
pncli config set openshift.environments.non-prod.instances.eu-west.token <token>
|
|
33
33
|
pncli config set openshift.environments.prod-us.instances.primary.baseUrl https://api.prod-us.imagile.dev:6443
|
|
34
|
-
pncli config set openshift.environments.prod-us.instances.primary.token
|
|
34
|
+
pncli config set openshift.environments.prod-us.instances.primary.token <token>
|
|
35
35
|
|
|
36
36
|
# Set defaults so --env / --instance can be omitted
|
|
37
37
|
pncli config set openshift.defaultEnvironment non-prod
|
|
@@ -70,14 +70,14 @@ curl -H "Authorization: Bearer $EXISTING_TOKEN" \
|
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
72
|
export PNCLI_OPENSHIFT_BASE_URL=https://api.cluster.imagile.dev:6443
|
|
73
|
-
export PNCLI_OPENSHIFT_TOKEN
|
|
73
|
+
export PNCLI_OPENSHIFT_TOKEN=<token>
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
## Set via config file (persistent)
|
|
77
77
|
|
|
78
78
|
```bash
|
|
79
79
|
pncli config set openshift.baseUrl https://api.cluster.imagile.dev:6443
|
|
80
|
-
pncli config set openshift.token
|
|
80
|
+
pncli config set openshift.token <token>
|
|
81
81
|
```
|
|
82
82
|
|
|
83
83
|
Or run the interactive wizard:
|