feat: add -v/--version arg
This commit is contained in:
parent
075a370b71
commit
fffa8c6f3d
@ -35,6 +35,9 @@ def parse_arguments() -> Tuple[Path, Path, Path, bool, bool, Path]:
|
||||
parser.add_argument(
|
||||
"-w", "--working-dir", type=str, help="Directory to store working files in."
|
||||
)
|
||||
parser.add_argument(
|
||||
"-v", "--version", action="version", version=f"%(prog)s {__version__}"
|
||||
)
|
||||
parser.add_argument("input", type=str, help="Path to input file.")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
Loading…
x
Reference in New Issue
Block a user