Transpiling a project

This command is used to transpile your JSON files into valid Bicep code. This can be used in multiple ways:

  1. To inspect the produced code
  2. 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

KeyValueDescription
PATH (required)filesystem pathThe path to your main.json

Options

NameValueDescription
-e, --env (required)stringThe target environment to transpile to
-h, --helpboolPrint help information
--quietboolSupress all warnings from the output
--no-updateboolSkip update checks (useful for CI)