mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-13 06:50:08 +01:00
better cli param validation and output
This commit is contained in:
parent
f980139e82
commit
e5e87ced19
2 changed files with 28 additions and 19 deletions
|
|
@ -216,7 +216,7 @@ def _parse_config(raw_cfg: RawConfig) -> Config:
|
|||
def parse(ctx: ProjectContext) -> MaybeConfig:
|
||||
"""Parse config file if available."""
|
||||
if not ctx.config_filepath.exists():
|
||||
log.error(f"File not found: {ctx.config_filepath}")
|
||||
log.warning(f"File not found: {ctx.config_filepath}")
|
||||
return None
|
||||
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue