Archived
Added agrument that gives you current version of Rete
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user