@wavyx/pdcli 0.5.0 → 0.6.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/CHANGELOG.md +15 -0
- package/README.md +1 -0
- package/bin/dev.js +19 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@ All notable changes to `pdcli` are documented here. Format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/); versions follow
|
|
5
5
|
[SemVer](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.6.0] - 2026-06-04
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Documentation site (Astro + Starlight) at wavyx.github.io/pdcli:
|
|
12
|
+
quickstarts (including a dedicated AI-agent quickstart), guides for every
|
|
13
|
+
feature area, automation recipes, concepts, and a command reference
|
|
14
|
+
generated from the CLI manifest.
|
|
15
|
+
- Machine-readable docs for AI agents: `llms.txt`, `llms-full.txt`, and
|
|
16
|
+
`llms-small.txt`.
|
|
17
|
+
- Native tarballs (linux x64/arm64, macOS x64/arm64, Windows x64) attached
|
|
18
|
+
to every GitHub Release for non-npm installs.
|
|
19
|
+
- Shell completion docs (`pdcli autocomplete bash|zsh|fish`).
|
|
20
|
+
- `bin/dev.js` development runner (no manifest cache).
|
|
21
|
+
|
|
7
22
|
## [0.5.0] - 2026-06-04
|
|
8
23
|
|
|
9
24
|
### Added
|
package/README.md
CHANGED
|
@@ -98,6 +98,7 @@ pdcli doctor # diagnose auth/keychain/connectivity
|
|
|
98
98
|
|
|
99
99
|
- `--output table|json|yaml|csv` everywhere; table in a TTY, JSON when piped.
|
|
100
100
|
- Deterministic [sysexits](https://man.freebsd.org/cgi/man.cgi?query=sysexits) exit codes for scripting.
|
|
101
|
+
- **Docs: [wavyx.github.io/pdcli](https://wavyx.github.io/pdcli)** — guides, cookbook, AI-agent quickstart, [`llms.txt`](https://wavyx.github.io/pdcli/llms.txt).
|
|
101
102
|
- Full reference: [docs/commands.md](docs/commands.md) (generated from the CLI manifest).
|
|
102
103
|
|
|
103
104
|
## License
|
package/bin/dev.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { existsSync, readFileSync } from 'node:fs'
|
|
3
|
+
import { resolve } from 'node:path'
|
|
4
|
+
import { execute } from '@oclif/core'
|
|
5
|
+
|
|
6
|
+
const envFile = resolve(process.cwd(), '.env')
|
|
7
|
+
if (existsSync(envFile)) {
|
|
8
|
+
for (const line of readFileSync(envFile, 'utf8').split('\n')) {
|
|
9
|
+
const trimmed = line.trim()
|
|
10
|
+
if (!trimmed || trimmed.startsWith('#')) continue
|
|
11
|
+
const eq = trimmed.indexOf('=')
|
|
12
|
+
if (eq === -1) continue
|
|
13
|
+
const key = trimmed.slice(0, eq).trim()
|
|
14
|
+
const value = trimmed.slice(eq + 1).trim()
|
|
15
|
+
if (!process.env[key]) process.env[key] = value
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
await execute({ dir: import.meta.url })
|
package/oclif.manifest.json
CHANGED