xo Family CLIs

xo

1
2
3
4
5
6
7
8
usage: xo [-h] [-v] {create,init,reset,list,show,take} ...

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output

subcommands:
  {create,init,reset,list,show,take}

xo create

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
usage: xo create [-h] [-v] [--disable-client-validation] [--wait] name

positional arguments:
  name                  an identifier for the new game

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         enable more verbose output
  --disable-client-validation
                        disable client validation
  --wait                wait for this commit before exiting

xo init

1
2
3
4
5
6
7
usage: xo init [-h] [-v] [--username USERNAME] [--url URL]

optional arguments:
  -h, --help           show this help message and exit
  -v, --verbose        enable more verbose output
  --username USERNAME  the name of the player
  --url URL            the url of the REST API

xo list

1
2
3
4
5
usage: xo list [-h] [-v]

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  enable more verbose output

xo reset

1
2
3
4
5
usage: xo reset [-h] [-v]

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  enable more verbose output

xo show

1
2
3
4
5
6
7
8
usage: xo show [-h] [-v] name

positional arguments:
  name           the identifier for the game

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  enable more verbose output

xo take

1
2
3
4
5
6
7
8
9
usage: xo take [-h] [-v] name space

positional arguments:
  name           the identifier for the game
  space          the square number to take

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  enable more verbose output

tp_xo_python

1
2
3
4
5
6
7
8
usage: tp_xo_python [-h] [-v] [endpoint]

positional arguments:
  endpoint       Endpoint for the validator connection

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Increase output sent to stderr