Skip to content

Add `--ai` and `--repeat/-r` options

Latest

Choose a tag to compare

@DRovara DRovara released this 27 Aug 09:01

What's Changed

The first release since v0.2.0 to reach PyPI, adding the --ai and --repeat options.

New features

--ai [agents] — record the AI agents that helped write the commit.
Adds a footer line to the commit message listing the agents you name. Pass the list inline (quick-commit --ai "Claude, Copilot") or leave the value off (quick-commit --ai) to be prompted for it.

The footer text is configurable via the new ai-template config option. It defaults to Assisted-by: $, where $ is replaced by the agents you provide:

ai-template: Assisted-by: $

The template must contain a $; configs without one are rejected with an error.

--repeat / -r [message] — reuse the structure of your previous commit.
Creates a new commit with the same type, scope, gitmoji, and breaking-change marker as the last quick-commit-style commit in the log, skipping the interactive prompts entirely. Pass a message to replace the subject line (quick-commit -r "fix the other half"), or leave it off to repeat the previous message verbatim. Handy for splitting one piece of work across several commits of the same kind.

--repeat handles the full range of quick-commit message shapes: scoped commits, breaking-change markers (feat!: ...), and multi-line bodies are all carried over intact.

Packaging

  • Releases now publish to PyPI via trusted publishing (OIDC) instead of a stored API token.
  • The package version is derived from the git tag via setuptools_scm, so the published version always matches the release.

Full Changelog: v0.2.0...v1.0.1