def action(text): print(colours.get("dgrey") + "-" + colours.get("white") + " " + text)
def error(text): print(colours.get("red") + "X" + colours.get("white") + " " + text)
def warning(text): print(colours.get("lyellow") + "!" + colours.get("white") + " " + text)
def returns(text): print(colours.get("blue") + "<" + colours.get("white") + " " + text)
import compiler import libs.strings.en_GB _ = lang._ VERSION = "V0.1.0" args = sys.argv requiredInstalls = False if (len(args) > 1 and (args[1] == "--hide" or args[1] == "-h")): args.pop(1) elif storage.read("hide") != "true": print(_("welcome", [colours.get("lred"), colours.get("white"), VERSION])) print(_("copyright")) print("") if storage.read("locale") == None: output.warning(_("setLocaleWarning", [lang.getLocale()])) print("") # Install libraries for when they don't exist def installLib(name, description): global requiredInstalls requiredInstalls = True output.action(_("installRequiredLibs", [description]))
import libs.docgen as docgen import libs.strings.en_GB _ = lang._ VERSION = "V0.1.0" args = sys.argv requiredInstalls = False if (len(args) > 1 and (args[1] == "--hide" or args[1] == "-h")): args.pop(1) elif storage.read("hide") != "true": print(_("welcome", [colours.get("lyellow"), colours.get("white"), VERSION])) print(_("copyright")) print("") if storage.read("locale") == None: output.warning(_("setLocaleWarning", [lang.getLocale()])) print("") # Install libraries for when they don't exist def installLib(name, description): global requiredInstalls requiredInstalls = True