Transpiling a project
This command is used to transpile your JSON files into valid Bicep code. This can be used in multiple ways:
- To inspect the produced code
- To deploy to your own subscription/environment for testing
If you donβt care about deploying this bicep file somewhere, this command usually can be ignored. It is used within our deployment pipelines (the ones created with this command)
Run this command to see the full api: hulk transpile --help
hulk-transpile
Transpile a JSON file to Bicep
USAGE:
hulk transpile [OPTIONS] --env <ENV> <PATH>
ARGS:
<PATH> The path to the file to read the schema from
OPTIONS:
-e, --env <ENV> The target environment to transpile to
-h, --help Print help information
--no-update Skip update checks (useful for CI)
--quiet Suppress all warnings from the output
Arguments
| Key | Value | Description |
|---|---|---|
PATH (required) | filesystem path | The path to your main.json |
Options
| Name | Value | Description |
|---|---|---|
-e, --env (required) | string | The target environment to transpile to |
-h, --help | bool | Print help information |
--quiet | bool | Supress all warnings from the output |
--no-update | bool | Skip update checks (useful for CI) |