{
  "id": "kool",
  "name": "Kool",
  "description": "Development environment CLI built on Docker.",
  "homepage": "https://kool.dev",
  "executables": [
    "kool"
  ],
  "commands": {
    "format": 1,
    "label": "Kool",
    "description": "Start and stop services, run scripts and commands. Cloud deploy and sharing are left out.",
    "quality": "ai-draft",
    "base": "fig:kool",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/kool.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "--verbose"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "verbose"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "start"
        ],
        "label": "Start services",
        "description": "Start service containers from docker-compose.yml.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kool.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "service",
            "label": "Services",
            "description": "Leave empty to start all.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "foreground",
            "label": "Foreground",
            "type": "boolean",
            "option": [
              "--foreground",
              "-f"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "rebuild",
            "label": "Rebuild images",
            "type": "boolean",
            "option": [
              "--rebuild",
              "-b"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "profile",
            "label": "Profile",
            "type": "string",
            "option": [
              "--profile"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "start",
            "label": "Start",
            "fields": [
              "service"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "service",
              "foreground"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "rebuild",
              "profile"
            ]
          }
        ]
      },
      {
        "path": [
          "stop"
        ],
        "label": "Stop services",
        "description": "Stop and destroy running service containers.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kool.ts",
            "license": "MIT"
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": []
          }
        ]
      },
      {
        "path": [
          "run"
        ],
        "label": "Run script",
        "description": "Execute a script defined in kool.yml.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kool.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "script",
            "label": "Script",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "env",
            "label": "Environment variables",
            "description": "KEY=value.",
            "type": "string",
            "option": [
              "--env",
              "-e"
            ],
            "multiple": true,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "run",
            "label": "Run script",
            "fields": [
              "script"
            ],
            "required": [
              "script"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "script"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "env"
            ]
          }
        ]
      },
      {
        "path": [
          "exec"
        ],
        "label": "Exec in container",
        "description": "Execute a command inside a running service container.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/kool.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "service",
            "label": "Service",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "command",
            "label": "Command",
            "type": "string",
            "position": 1,
            "multiple": true,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "detach",
            "label": "Detached",
            "type": "boolean",
            "option": [
              "--detach",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "exec",
            "label": "Exec",
            "fields": [
              "service",
              "command"
            ],
            "required": [
              "service",
              "command"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "service",
              "command"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "detach"
            ]
          }
        ]
      }
    ]
  }
}
