Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: show multiple options #64

Merged
merged 2 commits into from
Feb 16, 2023
Merged

feat: show multiple options #64

merged 2 commits into from
Feb 16, 2023

Conversation

privatenumber
Copy link
Collaborator

Changes

  • Add a CLI interface, which supports --help and --version flags (e.g. aicommmits --help shows a manual on how to use the CLI tool)

  • Adds a generate flag that accepts a number of messages to generate. (alicommits --generate 3 for 3 messages) Aliased with g (e.g. alicommits -g 3).

    @Nutlope I had go pick a flag name that didn't collide with any git commit flags. Feel free to rename if you can think of a better one that doesn't overlap with git commit.

Other information

Using cleye will set us up for transparently wrapping git commit so we can later pass down any unknown arguments (e.g. signing commits or even adding files -a).

Copy link
Owner

@Nutlope Nutlope left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, feel free to merge after resolving conflicts! I like the generate flag name

@privatenumber privatenumber merged commit 68fc8ad into main Feb 16, 2023
@privatenumber privatenumber deleted the multiple-options branch February 16, 2023 23:44
@kcoderhtml kcoderhtml mentioned this pull request Feb 17, 2023
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.

2 participants