aboutsummaryrefslogtreecommitdiff
path: root/game/src/ArgumentParser.tscn
blob: 964c19e04935a1009d4b3e03e80c30da5aa12339 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[gd_scene load_steps=5 format=3 uid="uid://dayjmgc34tqo6"]

[ext_resource type="Script" path="res://src/ArgumentParser.gd" id="1_8e7gi"]
[ext_resource type="Script" path="res://src/ArgumentOption.gd" id="2_f3c26"]

[sub_resource type="Resource" id="Resource_tq3y4"]
script = ExtResource("2_f3c26")
name = &"help"
aliases = Array[StringName]([&"h"])
type = 1
description = "Displays help and quits."
default_value = false

[sub_resource type="Resource" id="Resource_j1to4"]
script = ExtResource("2_f3c26")
name = &"game-debug"
aliases = Array[StringName]([&"d", &"-debug", &"-debug-mode"])
type = 1
description = "Start in debug mode."
default_value = false

[node name="ArgumentParser" type="Node"]
script = ExtResource("1_8e7gi")
option_array = Array[ExtResource("2_f3c26")]([SubResource("Resource_tq3y4"), SubResource("Resource_j1to4")])