sudo pacman -Syu
2a12f7649b
refactor(cli): move all cli related to cli pkg ( #15 )
...
* refactor: move all cli related to cli pkg
* refactor: move all usage to const
* fix: verbose flag should be inside generate command
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-23 10:51:27 +07:00
sudo pacman -Syu
5e9ff3a18f
feat: use my own color pkg to wrap fatih/color ( #9 )
...
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-14 11:46:17 +07:00
sudo pacman -Syu
32a1b40013
refactor: use better commands and flags name ( #7 )
...
* build: update go.mod
* refactor: replace debug with verbose
* refactor: split action from main
* refactor: move all cli app inside pkg cli
* chore(readme): use generate command
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-04-11 16:11:41 +07:00
sudo pacman -Syu
b98c62c46f
feat: support filter commit scope ( #5 )
...
* feat: add scope flag
* refactor: use scopes as map to quickly check
* feat: add scope to generate commits
* feat(convention): add scope to commit
* refactor: remove obsolete commit GetType
* refactor(convention): combie UpdateType and NewCommit
* feat(changelog): skip commit outside scopes
* feat(convention): remove () in scope
* feat(changelog): support filter scope
Co-authored-by: Tran Hau <ngtranhau@gmail.com>
2021-03-22 12:44:54 +07:00
Tran Hau
fc961796ea
feat: deprecated ioutil
2021-03-17 05:13:28 +00:00
Tran Hau
0206b95bf0
chore: move fmtErr global var
2021-01-20 14:54:35 +07:00
Tran Hau
59c5aaa8d1
chore: typo defaultRepository
2021-01-20 14:54:08 +07:00
Tran Hau
d823f6799d
chore(cli): remove unused log debug
2021-01-07 11:32:08 +07:00
hau
db0c2e2c1f
refactor(cli): change name -> appName
2021-01-07 11:29:35 +07:00
hau
dd720b777b
refactor(cli): replace flags map with directly field
2021-01-07 11:28:58 +07:00
hau
8f43f68fe4
feat(cli): remove use of args
2021-01-07 11:22:33 +07:00
hau
5701a6d5c4
feat(cli): remove default version
2021-01-05 17:11:31 +07:00
hau
dccea784d0
feat(cli): remove unused output filename
2021-01-05 16:42:43 +07:00
hau
efa0a74305
feat(git): only use git log, remove logIncludeTo
2021-01-05 16:15:31 +07:00
hau
6c550e8a3f
chore(cli): lowercase debug message
2021-01-05 16:08:39 +07:00
hau
17d8fb3a3d
chore(cli): remove default flags
2021-01-05 16:06:50 +07:00
hau
0ac61252f3
fix(cli): correct --debug short alias
2021-01-05 16:04:52 +07:00
hau
3501cb3846
feat(cli): args is need, I was wrong
2021-01-05 16:03:48 +07:00
hau
2be6b0c2cc
chore(cli): FILETYPE is a misc
2021-01-05 15:55:52 +07:00
hau
d06a27d88d
refactor(cli): rename output path to real output
2021-01-05 15:55:08 +07:00
hau
7dd3918be2
feat(cli): this program doest not need any args
2021-01-05 15:51:39 +07:00
hau
2bcc16dd5f
refactor(cli): rename output-dir to output
2021-01-05 15:51:03 +07:00
hau
fc7c594349
chore(cli): better usage text
2021-01-05 15:48:09 +07:00
hau
2dd6ffd1eb
feat: only use --to to replace --exclude-to, --include-to
2021-01-05 14:16:00 +07:00
hau
ed8e4704e3
feat(cli): use --debug instead of --verbose
2021-01-05 14:02:49 +07:00
hau
e921459daf
feat(cli): correct description cli
2021-01-05 11:19:11 +07:00
hau
84cf09fc24
feat: exit gracefully
2020-12-29 23:04:20 +07:00
hau
8a9625eda1
feat: highlight error
2020-12-24 17:52:21 +07:00
hau
fffbb832be
feat: by default show help if use do nothing
2020-12-18 16:46:33 +07:00
hau
284811f7f4
feat: remove -v as alias for --verbose
2020-12-18 16:30:58 +07:00
hau
05c878d795
feat: use urfave/cli DefaultText
2020-12-18 16:21:59 +07:00
hau
0f47650484
feat: add --repository and --output-dir
2020-12-18 16:04:21 +07:00
hau
d9d61fce7a
chore: log version verbose
2020-12-17 17:53:38 +07:00
hau
bb7ef0715f
feat: make 0.1.0 default version, split getChangelogPath
2020-12-17 17:52:04 +07:00
hau
4d647425d1
chore: add placeholder of urfave/cli
2020-12-17 17:34:50 +07:00
hau
4434bacdd7
feat: add --filename, --filetype flags
2020-12-17 16:54:32 +07:00
hau
332a289e45
refactor: split get flags, get args from cli
2020-12-01 17:21:55 +07:00
hau
25ead5004d
feat(changelog): use newly markdown parser and generate
2020-11-29 20:08:47 +07:00
hau
583c4ba3c2
refactor: move main.go to root dir for easy go get, go install
2020-11-11 00:16:06 +07:00