added version tag
This commit is contained in:
parent
17d8ac3def
commit
57bc1ef938
@ -42,6 +42,7 @@ def main():
|
||||
# Single file mode (optional fallback)
|
||||
parser.add_argument("-i", "--input", help="Input Excel file")
|
||||
parser.add_argument("-o", "--output", help="Output Excel file")
|
||||
parser.add_argument("-v", help="Version")
|
||||
|
||||
# Directory mode
|
||||
parser.add_argument("--input-dir", help="Input directory")
|
||||
@ -56,6 +57,10 @@ def main():
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.v:
|
||||
print("1.0")
|
||||
return
|
||||
|
||||
# directory
|
||||
if args.input_dir and args.output_dir:
|
||||
logger.info("Running in directory mode")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user