1
0
Fork 0
mirror of https://github.com/sbrl/terrain50-cli.git synced 2024-05-31 07:32:57 +00:00
terrain50-cli/src/Subcommands/validate/meta.toml

14 lines
711 B
TOML

description = "Read the Terrain50 file on stdin, validate it, and display any errors found"
[[arguments]]
name = "mode"
description = "The mode to operate in. Possible values: validate (default), stream. If stream, then validation will be done on individual items after parsing (otherwise validation is done during parsing, which catches more errors)"
default_value = "validate"
type = "string"
[[arguments]]
name = "use-regex"
description = "When in stream mode, setting this flag causes a regular expression to be used when parsing input data (otherwise it is assumed a single space separates elements on a line). Makes the parser more tolerant, but less performant."
default_value = false
type = "boolean"