{
  "description": "Execute a build target from an Earthfile (target form). The artifact and image forms, account, org, secrets, satellite and other subcommands are not covered.",
  "options": [
    {
      "names": [
        "--push"
      ],
      "description": "Push images and run RUN --push",
      "isDangerous": true
    },
    {
      "names": [
        "--no-output"
      ],
      "description": "Do not output any images or artifacts."
    },
    {
      "names": [
        "--no-cache"
      ],
      "description": "Ignore cache"
    },
    {
      "names": [
        "--ci"
      ],
      "description": "Alias for --no-output --strict."
    },
    {
      "names": [
        "--strict"
      ],
      "description": "Disallow features that may create unrepeatable builds."
    },
    {
      "names": [
        "--platform"
      ],
      "description": "Platform",
      "args": {
        "name": "platform",
        "isOptional": false,
        "suggestions": [
          {
            "name": "linux/amd64",
            "description": "linux/amd64"
          },
          {
            "name": "linux/arm64",
            "description": "linux/arm64"
          },
          {
            "name": "linux/arm/v7",
            "description": "linux/arm/v7"
          }
        ]
      }
    },
    {
      "names": [
        "--secret",
        "-s"
      ],
      "description": "Form secret-id=value, or just secret-id to read it from the environment.",
      "args": {
        "name": "secret",
        "description": "Form secret-id=value, or just secret-id to read it from the environment.",
        "isOptional": false,
        "isVariadic": true
      },
      "isRepeatable": true
    },
    {
      "names": [
        "--secret-file"
      ],
      "description": "Form secret-id=path.",
      "args": {
        "name": "secret_file",
        "description": "Form secret-id=path.",
        "isOptional": false,
        "isVariadic": true
      },
      "isRepeatable": true
    },
    {
      "names": [
        "--allow-privileged",
        "-P"
      ],
      "description": "Allow privileged RUN",
      "isDangerous": true
    },
    {
      "names": [
        "--interactive",
        "-i"
      ],
      "description": "Drop into a shell when a RUN command fails."
    },
    {
      "names": [
        "--verbose"
      ],
      "description": "Verbose logging"
    }
  ],
  "args": [
    {
      "name": "target",
      "description": "Target reference such as +build, ./dir+build or github.com/org/repo+build.",
      "isOptional": false
    },
    {
      "name": "build_args",
      "description": "Passed after the target, for example --VERSION=1.2.3.",
      "isOptional": true,
      "isVariadic": true
    }
  ],
  "name": "earthly"
}
