Skip to content

Commit

Permalink
Always print the resulting pack directory on stdout when using CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvanrun committed Dec 19, 2023
1 parent 315c053 commit 0b0ab0d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions grand_challenge_forge/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,14 @@ def cli(output, force, contexts, no_quality_control, verbose=0):
force=force,
quality_control_registry=quality_control_registry,
)
logger.info(f"πŸŽ’ Created Pack {pack_dir.stem!r}")
logger.info(f"πŸ“¦ Created Pack {pack_dir.stem!r}")
if quality_control_registry:
logger.info("πŸ‘· Starting quality checks...")
for check in quality_control_registry:
check()
logger.info("βœ… Quality checks complete!")
logger.info("βœ… Quality checks complete!")
logger.info(f"πŸ“’ Pack is here: {pack_dir}")
print(str(pack_dir))
except Exception as e:
if isinstance(e, ChallengeForgeError):
logger.error(f"πŸ’” {e}")
Expand Down

0 comments on commit 0b0ab0d

Please sign in to comment.