# before
$ pummit
[INFO] checked the Git diff, but it looks like there are no new changes
# after
$ pummit
NAME:
pummit - pummit <emoji prefix> <subject>
USAGE:
pummit [global options] command [command options] [arguments...]
VERSION:
v1.1.0 amd64
DESCRIPTION:
Easily create nicely formatted commit messages
COMMANDS:
alias Subcommand to manage aliases for git characters.
complete Outputs a completion script.
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
OPTIONS:
--bash Outputs a completion script for bash. (default: false)
--zsh Outputs a completion script for zsh. (default: false)
--fish Outputs a completion script for fish. (default: false)
--help, -h show help
新機能及び改善など
コマンドで何も引数などが付いていないとき、helpを表示するようにする
Pull request / Issue 割振番号
No response
詳細
complete
とroot cmd
でオプション及び引数がない場合はヘルプを表示するようにするafter
$ pummit complete NAME: pummit complete - Outputs a completion script.
USAGE: pummit complete [command options] [arguments...]
OPTIONS: --bash Outputs a completion script for bash. (default: false) --zsh Outputs a completion script for zsh. (default: false) --fish Outputs a completion script for fish. (default: false) --help, -h show help