Skip to content

feat(cli.ts): enhance fgm flag to include description and default value for better usability #472

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

Merged
merged 1 commit into from
May 30, 2025

Conversation

kakakakakku
Copy link
Contributor

Summary

Thank you for such a great tool😀

I noticed that the --fgm option in the oco command help output does not have a description:

The motivation of this pull request is to improve the clarity of the help message by adding a description for the --fgm flag.

Before

$ oco -h
opencommit v3.2.7

Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫

Usage:
  opencommit [flags...]
  opencommit <command>

Commands:
  config
  hook
  commitlint

Flags:
  -c, --context <string>        Additional user input context for the commit message
      --fgm
  -h, --help                    Show help
      --version                 Show version
  -y, --yes                     Skip commit confirmation prompt

After

$ oco -h  
opencommit v3.2.7

Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫

Usage:
opencommit [flags...]
opencommit <command>

Commands:
config                                                                                                                                                                                                  
hook                                                                                                                                                                                                    
commitlint                                                                                                                                                                                              

Flags:
-c, --context <string>        Additional user input context for the commit message                                                                                                                      
    --fgm                     Use full GitMoji specification                                                                                                                                            
-h, --help                    Show help                                                                                                                                                                 
    --version                 Show version                                                                                                                                                              
-y, --yes                     Skip commit confirmation prompt    

Could you please review? Thanks a lot 👍

@di-sukharev di-sukharev merged commit 5590415 into di-sukharev:master May 30, 2025
@kakakakakku kakakakakku deleted the fgm branch May 30, 2025 08:42
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