clizoomlkcledit

zoo ml kcl edit

Edit kcl file(s) with a prompt.

Options

input
The path to the input file or directory containing a main.kcl file. We will read in the contents of all the project's kcl files. If you pass - as the path, the file will be read from stdin
prompt
Your prompt
-r/--source_range
The source ranges to edit. This is optional. If you don't pass this, the entire file will be edited
-d/--debug
Print debug info
Default value: false
-h/--help
Print help (see a summary with '-h')

About

$ zoo ml kcl edit --prompt "Make it blue"

This command outputs the edited kcl files back to the same location. We do not output to stdout, because for projects with multiple files, it would be difficult to know which file the output corresponds to.

See also