Skip to content

Give each apl-feed command its own contextual help#118

Merged
d4rken merged 1 commit into
devfrom
feat/apl-feed-contextual-help
May 31, 2026
Merged

Give each apl-feed command its own contextual help#118
d4rken merged 1 commit into
devfrom
feat/apl-feed-contextual-help

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented May 31, 2026

Running apl-feed with no arguments now prints a concise list of commands instead of the entire command tree, and every command and subcommand has its own --help. Running a command group without a subcommand (for example apl-feed claim) now prints that command's help instead of a terse "requires a subcommand" error.

Usage errors — a missing or unknown subcommand, an unknown command, or a missing required argument — print the relevant help to stderr and exit 2, while --help prints to stdout and exits 0.

Replace the single global usage dump with a concise top-level command index plus per-command and per-subcommand --help. Running a command group with no subcommand now prints that command's help instead of a dead-end error; usage errors exit 2.
@d4rken d4rken merged commit e649320 into dev May 31, 2026
13 checks passed
@d4rken d4rken deleted the feat/apl-feed-contextual-help branch May 31, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant