Open magicdawn opened 5 months ago
node v20.13.0
see below
usage
pnpm changelogen --clean --github false --release --minor
with sync release, later tag push will report tag already exists (and I need to test before push, so I don't want --push)
sync release
so I need to disable sync release. I found the code here https://github.com/unjs/changelogen/blob/v0.5.5/src/commands/default.ts#L141
but this still not working because mri(argv) will treat --github=false / --github false as string, argv.github === 'false'
mri(argv)
--github=false
--github false
argv.github === 'false'
https://runkit.com/magicdawn/665f44d7aa755f00088dfac6
and -h / --help / help does not work, use a better cli lib please, clipanion or cac
-h
--help
help
No response
and another issue --minor did not working, v0.0.2 became v0.0.3
--minor
noticed the --minor today too. Waiting for this :)
Environment
node v20.13.0
Reproduction
see below
Describe the bug
usage
pnpm changelogen --clean --github false --release --minor
with
sync release
, later tag push will report tag already exists (and I need to test before push, so I don't want --push)so I need to disable sync release. I found the code here https://github.com/unjs/changelogen/blob/v0.5.5/src/commands/default.ts#L141
but this still not working because
mri(argv)
will treat--github=false
/--github false
as string,argv.github === 'false'
https://runkit.com/magicdawn/665f44d7aa755f00088dfac6
and
-h
/--help
/help
does not work, use a better cli lib please, clipanion or cacAdditional context
No response
Logs
No response