Logochanges.page

Managing Posts

Create, list, update, and delete changelog posts using the CLI.

List posts

chp posts list
chp posts list --status published --limit 5

List options

FlagDescription
--status <status>Filter by status: draft, published, archived
--limit <n>Max number of posts (default: 20)
--offset <n>Offset for pagination (default: 0)

Get a post

chp posts get <id>

Create a post

Content is read from stdin:

echo "Release notes here" | chp posts create --title "v2.0" --tags new,fix --status draft

Or from a file:

chp posts create --title "v2.0" --tags new,fix --status published < content.md

Update a post

echo "Updated content" | chp posts update <id> --title "v2.1" --tags improvement

Update metadata only (no stdin pipe):

chp posts update <id> --status published

Delete a post

chp posts delete <id>

Create / Update options

FlagDescription
--title <title>Post title (required for create)
--tags <tags>Comma-separated tags: new, fix, improvement, announcement, alert
--status <status>draft, published, archived (default: draft)
--publish-at <date>ISO date for scheduled publish
--allow-reactions / --no-allow-reactionsEnable or disable reactions
--notes <notes>Internal notes

On this page