Print program name and version on startup #15
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The CLI emits no greeting, making it hard to confirm which version is running. A one-line welcome message (
sub2pod <version>) should be printed when the program starts.Approach: Import
__version__fromsub2podincli.pyand callprint(f'sub2pod {__version__}')at the top ofmain()before any processing. Add a test intest_cli.pycapturing stdout and asserting it contains'sub2pod '.