You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,20 @@ All notable changes to apcore-cli (Python SDK) will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.4.0] - 2026-03-29
9
+
10
+
### Added
11
+
-**Verbose help mode** — Built-in apcore options (`--input`, `--yes`, `--large-input`, `--format`, `--sandbox`) are now hidden from `--help` output by default. Pass `--help --verbose` to display the full option list including built-in options.
12
+
-**Universal man page generation** — `build_program_man_page()` generates a complete roff man page covering all registered commands. `configure_man_help()` adds `--help --man` support to any Click CLI, enabling downstream projects to get man pages for free.
13
+
-**Documentation URL support** — `set_docs_url()` sets a base URL for online docs. Per-command help shows `Docs: {url}/commands/{name}`, man page SEE ALSO includes `Full documentation at {url}`. No default — disabled when not set.
14
+
15
+
### Changed
16
+
-`build_module_command()` respects the global verbose help flag to control built-in option visibility.
17
+
-`--sandbox` is now always hidden from help (not yet implemented). Only four built-in options (`--input`, `--yes`, `--large-input`, `--format`) toggle with `--verbose`.
18
+
- Improved built-in option descriptions for clarity.
When executing a module (e.g. `apcore-cli math.add`), these built-in options are always available:
221
+
When executing a module (e.g. `apcore-cli math.add`), these built-in options are available (hidden by default; pass `--help --verbose` to display them):
220
222
221
223
| Option | Description |
222
224
|--------|-------------|
223
225
|`--input -`| Read JSON input from STDIN |
224
226
|`--yes` / `-y`| Bypass approval prompts |
225
227
|`--large-input`| Allow STDIN input larger than 10MB |
226
228
|`--format`| Output format: `json` or `table`|
227
-
|`--sandbox`| Run module in subprocess sandbox |
229
+
|`--sandbox`| Run module in subprocess sandbox *(not yet implemented)*|
228
230
229
231
Schema-generated flags (e.g. `--a`, `--b`) are added automatically from the module's `input_schema`.
230
232
@@ -291,7 +293,8 @@ cli:
291
293
- **Schema validation** -- inputs validated against JSON Schema before execution, with `$ref`/`allOf`/`anyOf`/`oneOf` resolution
- **Shell completions** -- `apcore-cli completion bash|zsh|fish` generates completion scripts with dynamic module ID completion
294
-
- **Man pages** -- `apcore-cli man <command>` generates roff-formatted man pages
296
+
- **Man pages** -- `apcore-cli man <command>` generates per-command man pages; `--help --man` prints a full-program man page via `configure_man_help()`
297
+
- **Documentation URL** -- `set_docs_url()` sets a base URL; per-command help shows `Docs: {url}/commands/{name}`, man page SEE ALSO links to the full docs site
295
298
- **Audit logging** -- all executions logged to `~/.apcore-cli/audit.jsonl` with SHA-256 input hashing
0 commit comments