Added agrument that gives you current version of Rete

This commit is contained in:
2026-07-14 18:58:27 -06:00
parent e3f9845ea1
commit 336b434811
+5 -1
View File
@@ -3,13 +3,16 @@ import sys
import validators # type: ignore
import os
print("Rete URL Checker by koffee.zip")
print("Rete by koffee.zip 2026")
exist = True
try:
if sys.argv[1] == "-v" or sys.argv[1] == "--version":
print("Rete 1.0 by koffee.zip 2026")
if sys.argv[1] == "-h" or sys.argv[1] == "--help":
print("Usage: Rete [arguments] [URLs]")
print("-h --help Shows this help page")
print("-f --file Lets you check URLs via a txt file.")
print("-v --version Shows program's current version")
exit(0)
if sys.argv[1] == "-f" or sys.argv[1] == "--file":
count = 0
@@ -104,3 +107,4 @@ except IndexError:
print("Usage: Rete [arguments] [URLs]")
print("-h --help Shows this help page")
print("-f --file Lets you check URLs via a txt file.")
print("-v --version Shows program's current version")