{"version":"0.12.1","commands":{"compile":{"id":"compile","description":"Compile a Kipper program into the specified target language.","strict":true,"pluginName":"@kipper/cli","pluginAlias":"@kipper/cli","pluginType":"core","aliases":[],"examples":["kipper compile -t js","kipper compile -t ts -s \"print('Hello, World!');\"","kipper compile -t js -e utf8 -o build/ -s \"print('Hello, World!');\"","kipper compile -t ts -o build/ -e utf8 -s \"print('Hello, World!');\"","kipper compile -t js -o build/ -e utf8 -s \"print('Hello, World!');\" --warnings","kipper compile -t ts -o build/ -e utf8 -s \"print('Hello, World!');\" --warnings --log-timestamp","kipper compile -t js ./path/to/file.kip","kipper compile -t ts ./path/to/file.kip -o build/ --log-timestamp","kipper compile -t js ./path/to/file.kip -o build/ --warnings --log-timestamp","kipper compile -t ts ./path/to/file.kip -o build/ -e utf16le --warnings --log-timestamp"],"flags":{"target":{"name":"target","type":"option","char":"t","description":"The target language where the compiled program should be emitted to.","multiple":false,"options":["js","ts"]},"encoding":{"name":"encoding","type":"option","char":"e","description":"The encoding that should be used to read the file (ascii,utf-8,utf8,utf16le).","multiple":false},"output-dir":{"name":"output-dir","type":"option","char":"o","description":"The build directory where the compiled files should be placed. If the path does not exist, it will be created. Takes precedence over the config file, defaults to 'build' if both are not provided","multiple":false},"string-code":{"name":"string-code","type":"option","char":"s","description":"The content of a Kipper file that can be passed as a replacement for the 'file' parameter. Takes precedence over the config file.","multiple":false},"optimise-internals":{"name":"optimise-internals","type":"boolean","char":"i","description":"Optimise the generated internal functions using tree-shaking to reduce the size of the output.","allowNo":true},"optimise-builtins":{"name":"optimise-builtins","type":"boolean","char":"b","description":"Optimise the generated built-in functions using tree-shaking to reduce the size of the output.","allowNo":true},"dry-run":{"name":"dry-run","type":"boolean","char":"d","description":"Run the compiler without writing any output. Useful for checking for errors.","allowNo":true},"warnings":{"name":"warnings","type":"boolean","char":"w","description":"Show warnings that were emitted during the compilation.","allowNo":true},"log-timestamp":{"name":"log-timestamp","type":"boolean","description":"Show the timestamp of each log message.","allowNo":true},"recover":{"name":"recover","type":"boolean","description":"Recover from compiler errors and log all detected semantic issues.","allowNo":true}},"args":[{"name":"file","description":"The file that should be compiled. Takes precedence over the 'string-code' flag and the config file.","required":false}]},"help":{"id":"help","description":"Display help for the Kipper CLI.","strict":false,"pluginName":"@kipper/cli","pluginAlias":"@kipper/cli","pluginType":"core","aliases":[],"flags":{"all":{"name":"all","type":"boolean","description":"see all commands in CLI","allowNo":false}},"args":[{"name":"command","description":"command to show help for","required":false}]},"new":{"id":"new","description":"Generate a new Kipper project with a kip-config.json using a setup wizard.","strict":true,"pluginName":"@kipper/cli","pluginAlias":"@kipper/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"default":{"name":"default","type":"boolean","char":"d","description":"Use the default settings for the new project. Skips the setup wizard.","allowNo":false}},"args":[{"name":"location","description":"The directory where the new project should be created.","required":false,"default":"."}]},"run":{"id":"run","description":"Compile and execute a Kipper program.","strict":true,"pluginName":"@kipper/cli","pluginAlias":"@kipper/cli","pluginType":"core","aliases":[],"examples":["kipper run -t js","kipper run -t ts -s \"print('Hello, World!');\"","kipper run -t js -e utf8 -o build/ -s \"print('Hello, World!');\"","kipper run -t ts -o build/ -e utf8 -s \"print('Hello, World!');\"","kipper run -t js -o build/ -e utf8 -s \"print('Hello, World!');\" --warnings","kipper run -t ts -o build/ -e utf8 -s \"print('Hello, World!');\" --warnings --log-timestamp"],"flags":{"target":{"name":"target","type":"option","char":"t","description":"The target language where the compiled program should be emitted to.","multiple":false,"options":["js","ts"]},"encoding":{"name":"encoding","type":"option","char":"e","description":"The encoding that should be used to read the file (ascii,utf-8,utf8,utf16le).","multiple":false},"output-dir":{"name":"output-dir","type":"option","char":"o","description":"The build directory where the compiled files should be placed. If the path does not exist, it will be created.","multiple":false},"string-code":{"name":"string-code","type":"option","char":"s","description":"The content of a Kipper file that can be passed as a replacement for the 'file' parameter.","multiple":false},"optimise-internals":{"name":"optimise-internals","type":"boolean","char":"i","description":"Optimise the generated internal functions using tree-shaking to reduce the size of the output.","allowNo":true},"optimise-builtins":{"name":"optimise-builtins","type":"boolean","char":"b","description":"Optimise the generated built-in functions using tree-shaking to reduce the size of the output.","allowNo":true},"warnings":{"name":"warnings","type":"boolean","char":"w","description":"Show warnings that were emitted during the compilation.","allowNo":true},"log-timestamp":{"name":"log-timestamp","type":"boolean","description":"Show the timestamp of each log message.","allowNo":true},"recover":{"name":"recover","type":"boolean","description":"Recover from compiler errors and display all detected compiler errors.","allowNo":true}},"args":[{"name":"file","description":"The file that should be compiled and run.","required":false}]},"version":{"id":"version","description":"Display the currently installed Kipper version.","strict":true,"pluginName":"@kipper/cli","pluginAlias":"@kipper/cli","pluginType":"core","aliases":[],"flags":{},"args":[]}}}