mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Path metavar
This commit is contained in:
parent
2d1cc4ede4
commit
38560702f4
@ -25,7 +25,7 @@ from yaclog.changelog import Changelog
|
||||
|
||||
|
||||
@click.group()
|
||||
@click.option('--path', envvar='YACLOG_PATH', default='CHANGELOG.md', show_default=True,
|
||||
@click.option('--path', envvar='YACLOG_PATH', metavar='FILE', default='CHANGELOG.md', show_default=True,
|
||||
type=click.Path(dir_okay=False, writable=True, readable=True),
|
||||
help='Location of the changelog file.')
|
||||
@click.version_option()
|
||||
|
Loading…
Reference in New Issue
Block a user