feat: add -v/--version arg

This commit is contained in:
jlw4049 2024-07-23 16:36:53 -04:00
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()