Overview
/
Developer Tools
/
CLI
/
bounding-box

zoo kcl bounding-box

Get the bounding box that contains everything in a KCL file.

Options

input
The path to the input file. This can also be the path to a directory containing a main.kcl file. If you pass - as the path, the file will be read from stdin
-f/--format
Output format
Possible values: json | yaml | table
-u/--output-unit
Output unit
--allow-errors
When there are KCL problems that are are errors, continue anyway. Problems (AKA compilation issues) may be detected in KCL parsing or execution and can have varying severity. Some errors are fatal and are not affected by this option. Which errors are considered fatal may change without notice
Default value: false
-d/--debug
Print debug info
Default value: false
--host
Zoo API host to use for all commands (e.g., "api.zoo.dev" or "http://localhost:8888"). Overrides the configured default host
-h/--help
Print help (see a summary with '-h')

About

get the volume of a file

$ zoo kcl bounding-box my-file.kcl

pass a file from stdin

$ cat my-file.kcl | zoo kcl bounding-box

By default, this will search the input path for a project.toml file to determine any specific execution settings.

See also