[ ] π Bug fix (non-breaking change which fixes an issue)
[x] β¨ New feature (non-breaking change which adds functionality)
[ ] π Document (This change requires a documentation update)
[ ] π¨ Theme style (Theme style beautification)
[x] β Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] π¨ Workflow (Workflow changes)
Clear Describe
A clear and concise description of what update for target.
feat(czg)!: using switch flag to replace subcmd
feat(czg)!: command arg as types search keyword
Description
Using switch flag
Actually, subcmd is intended for functional categorization within commands. e.g git branch and git config.
Or is action of command like addrm. e.g bun addnpm uninstall
Initially designed as czg ai or czg emoji were aimed at highlighting configure activation. However, it might be better for both to be switch flags (like czg --retry|-r).
For example, when we need to activate more than two switches, the input becomes quite redundant, which hampers the quick use of the command.
czg ix ==> will pin the fix item to the top of choose list ==> Enter
This design helps individuals whose subconscious is already familiar with the types, enabling a swift transition to inputting the subject(short description)
Related ISSUE
147
Type Of Change
Clear Describe
Description
Using switch flag
Actually,
subcmd
is intended for functional categorization within commands. e.ggit branch
andgit config
. Or is action of command likeadd
rm
. e.gbun add
npm uninstall
Initially designed as
czg ai
orczg emoji
were aimed at highlighting configure activation. However, it might be better for both to be switch flags (likeczg --retry|-r
). For example, when we need to activate more than two switches, the input becomes quite redundant, which hampers the quick use of the command.Args => using search keywords for
types
itemsczg ix
==> will pin thefix
item to the top of choose list ==> EnterThis design helps individuals whose subconscious is already familiar with the types, enabling a swift transition to inputting the
subject
(short description)Test Case