mirror of
https://github.com/sbrl/terrain50-cli.git
synced 2024-06-26 10:24:55 +00:00
The cli handling belongs in image/index.mjs, but everything that isn't cli handling belongs in a middleware class kinda thing. In this case, we've created a RenderManager class.
25 lines
780 B
TOML
25 lines
780 B
TOML
description = "Convert a Terrain50 file into an image"
|
|
|
|
[[arguments]]
|
|
name = "input"
|
|
description = "The input Terrain50 file"
|
|
# default_value = ""
|
|
type = "string"
|
|
|
|
[[arguments]]
|
|
name = "output"
|
|
description = "The output file to write to"
|
|
# default_value = ""
|
|
type = "string"
|
|
|
|
[[arguments]]
|
|
name = "stream"
|
|
description = "Treat the input as a stream of Terrain50 objects. The path specified by the --output argument will be a directory containing all the extracted objects, 1 image file per object."
|
|
default_value = false
|
|
type = "boolean"
|
|
|
|
[[arguments]]
|
|
name = "boundaries"
|
|
description = "Takes a comma-separated list of numbers. If specified, values will be binned into categories that match the given boundaries. See the note in the README for more information."
|
|
type = "string"
|