Skip to content

✨ feat(commit): add --no-emoji flag and wire up auto_emoji config#4

Open
skyspec28 wants to merge 1 commit intomainfrom
feature/emoji-toggle
Open

✨ feat(commit): add --no-emoji flag and wire up auto_emoji config#4
skyspec28 wants to merge 1 commit intomainfrom
feature/emoji-toggle

Conversation

@skyspec28
Copy link
Owner

Add a --no-emoji CLI flag to the commit command. When set, the AI prompt instructs the model to omit emoji prefixes and uses plain type(scope): subject format. The flag also respects config.commit.auto_emoji: false as the persistent default. --no-emoji always overrides auto_emoji=true.

Extract prompt building into _build_prompt(diff, files, rules, use_emoji) for clarity and testability.

Add a --no-emoji CLI flag to the commit command. When set, the AI prompt
instructs the model to omit emoji prefixes and uses plain type(scope):
subject format. The flag also respects config.commit.auto_emoji: false as
the persistent default. --no-emoji always overrides auto_emoji=true.

Extract prompt building into _build_prompt(diff, files, rules, use_emoji)
for clarity and testability.

Co-Authored-By: Claude <[email protected]>
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