Evaluate gdscript code
Diffstat (limited to 'autoloads/CLI.gd')
-rw-r--r--autoloads/CLI.gd11
1 files changed, 0 insertions, 11 deletions
diff --git a/autoloads/CLI.gd b/autoloads/CLI.gd
deleted file mode 100644
index 095bfd3..0000000
--- a/autoloads/CLI.gd
+++ /dev/null
@@ -1,11 +0,0 @@
-extends Node
-
-func _ready() -> void:
- var p := Parser.new()
- p.add_argument(Arg.new({triggers=["-h", "--help", "-?"], help="show this help message and exit", action="store_true"}))
- var args = p.parse_arguments()
- if args == null:
- get_tree().quit()
- elif args.get("help", false):
- print(p.help())
- get_tree().quit() \ No newline at end of file