Nochetopgn command line options

This page describes nochetopgn command line options.

Help

Use --help to show command line options help.

$  nochetopgn --help
nochetopgn 3.0.0 Author: Petr Bilek
USAGE: nochetopgn [-h|--help]  [-o|--owner] [-d|--debug] [--pgn |--json |--json-full|--jtree|--jtree-full|--counter]
	--help      - show this help
	--owner     - show owner information
	--pgn       - output as PGN file
	--json      - output every game as one json; games are separated by "\t   \t\n"
	--json-full - output all games as one json
	--jtree     - as json, but moves are in a tree structure
	--jtree-full - as json-full, but moves are in a tree structure
	--counter   - output number of games

pgn

Use --pgn to convert standard input in PGN format to PGN format.
This is used for testing validity of input PGN.

json

Use --json to convert standard input in PGN format to JSON format, where every game is printed as separate JSON object. These are separated by "\t \t\n" (where \t is a tabulator and \n is a new line).

json-full

Use --json-full to output all games in one JSON object.

jtree3.0.0

Use --jtree to convert standard input in PGN format to JSON format, where every game is printed as separate JSON object. These are separated by "\t \t\n" (where \t is a tabulator and \n is a new line).

This format is the same as the output of printjson command in nocheto.

jtree-full3.0.0

Use --jtree-full to output all games with the same format as with -jtree, but in one JSON object.

counter

Use --counter to count games in PGN file.

The output should look like this:

1
res = 0; c = 1

res should be always 0 (unless an error occures). The number on first line and after c are the same - it is the count of games.

Owner

Use --owner to print owners credentials.