about summary refs log tree commit diff
path: root/src/cli.yml
blob: 4b2e94e57b0e57de96c0226d745db165944ea26f (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: xanthous
version: "0.0"
author: Griffin Smith <root@gws.fyi>
about: hey, it's a terminal game
args:
  - config:
      short: c
      long: config
      value_name: FILE
      help: Sets a custom config file
      takes_value: true
subcommands:
  - info:
      about: Writes debug information to the terminal and exits
  - generate-level:
      about: Generate a level and print it to the screen
      args:
      - generator:
          long: generator
          value_name: GEN
          help: Select which generator to use
          takes_value: true
      - width:
          long: width
          short: w
          value_name: WIDTH
          takes_value: true
      - height:
          long: height
          short: h
          value_name: HEIGHT
          takes_value: true
      - start-alive-chance:
          long: start-alive-chance
          takes_value: true
      - birth_limit:
          long: birth-limit
          takes_value: true
      - death_limit:
          long: death-limit
          takes_value: true
      - steps:
          long: steps
          short: s
          value_name: STEPS
          takes_value: true