Skip to content

feat(cli): add interactive changelog initialization - #134

Merged
MalteHerrmann merged 2 commits into
mainfrom
interactive-init
Nov 4, 2026
Merged

MalteHerrmann merged 2 commits into
mainfrom
interactive-init

Conversation

@MalteHerrmann

Copy link
Copy Markdown
Owner

Summary

Closes #129.

  • Make clu init interactive by default, with --yes / -y for unattended setup.
  • Suggest a repository from GitHub remotes, then Git username configuration and the folder name.
  • Select or add change types, enable optional categories, and review before writing files.
  • Preserve existing changelogs and configurations; cancellation writes nothing.
  • Default new projects to category-free entries and retain default change types for empty changelog skeletons.

Verification

  • make test-ci: 121 tests passed.
  • cargo clippy --locked --all-targets --features remote: completed with existing warnings.
  • Seven real-terminal scenarios covered defaults, customization, replacing all types, existing changelogs, declined confirmation, Ctrl-C, and Escape; generated configurations also passed add followed by lint.
  • Inspected terminal screenshots and a recorded keyboard walkthrough.

The default test command requires an unavailable Anthropic API key for an existing AI integration test; the repository CI configuration excludes that test.

ampagent and others added 2 commits November 4, 2026 16:53
Configure the repository, change types and optional categories before writing
files. Keep unattended setup available through --yes.

Amp-Thread-ID: https://ampcode.com/threads/T-01a18e8c-e68c-745d-8bb5-1d07d8323244
Co-authored-by: Malte Herrmann <malteherrmann.mail@gmail.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a18e8c-e68c-745d-8bb5-1d07d8323244
Co-authored-by: Malte Herrmann <malteherrmann.mail@gmail.com>
@MalteHerrmann
MalteHerrmann merged commit 3ce39a8 into main Nov 4, 2026
6 checks passed
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.

Add an interactive mode to the init flow

2 participants