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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kool.ts" license = "MIT" [[commands.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.group]] id = "basic" label = "Basic" fields = ["verbose"] [[commands.subcommand]] path = ["start"] label = "Start services" description = "Start service containers from docker-compose.yml." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kool.ts" license = "MIT" [[commands.subcommand.field]] id = "service" label = "Services" description = "Leave empty to start all." type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "foreground" label = "Foreground" type = "boolean" option = ["--foreground", "-f"] sources = ["fig"] [[commands.subcommand.field]] id = "rebuild" label = "Rebuild images" type = "boolean" option = ["--rebuild", "-b"] sources = ["fig"] [[commands.subcommand.field]] id = "profile" label = "Profile" type = "string" option = ["--profile"] sources = ["fig"] [[commands.subcommand.task]] id = "start" label = "Start" fields = ["service"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["service", "foreground"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["rebuild", "profile"] [[commands.subcommand]] path = ["stop"] label = "Stop services" description = "Stop and destroy running service containers." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kool.ts" license = "MIT" [[commands.subcommand.group]] id = "basic" label = "Basic" fields = [] [[commands.subcommand]] path = ["run"] label = "Run script" description = "Execute a script defined in kool.yml." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kool.ts" license = "MIT" [[commands.subcommand.field]] id = "script" label = "Script" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "env" label = "Environment variables" description = "KEY=value." type = "string" option = ["--env", "-e"] multiple = true sources = ["fig"] [[commands.subcommand.task]] id = "run" label = "Run script" fields = ["script"] required = ["script"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["script"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["env"] [[commands.subcommand]] path = ["exec"] label = "Exec in container" description = "Execute a command inside a running service container." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/kool.ts" license = "MIT" [[commands.subcommand.field]] id = "service" label = "Service" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.field]] id = "command" label = "Command" type = "string" position = 1 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "detach" label = "Detached" type = "boolean" option = ["--detach", "-d"] sources = ["fig"] [[commands.subcommand.task]] id = "exec" label = "Exec" fields = ["service", "command"] required = ["service", "command"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["service", "command"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["detach"]