-
Notifications
You must be signed in to change notification settings - Fork 0
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
refactor: use cli framework and handlers structure #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~/fadian-go $ ./fadian-go
NAME:
fadian-go - 发癫
USAGE:
fadian-go [global options] command [command options] [arguments...]
VERSION:
0.0.1-0000000
AUTHORS:
AH Dark <[email protected]>
Kevin Williams
Purofle
COMMANDS:
fadian
fabing
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--debug, -d 是否开启调试模式 (default: false) [$DEBUG]
--num value 重复次数 (default: 1)
--help, -h show help
--version, -v print the version
COPYRIGHT:
2022-2023 © 爱发癫 All Rights Reserved
~/fadian-go $
更新一下README.md
|
fabing seems doesn't work. |
Fixed. This seems to be a conflict between flags package and cli framework. |
@2096779623 Now you need to use such a command to release a new tag, CI will help you generate a draft release. git tag v1.0.0
git push --tags |
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
{Name: "Kevin Williams", Email: ""}, // TODO: add email | ||
{Name: "Purofle", Email: ""}, // TODO: add email | ||
}, | ||
EnableBashCompletion: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有bash completion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can set it up. But during the current situation, I think this feature is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now you are admin! |
No description provided.