id = "dtm" name = "DevStream" homepage = "https://docs.devstream.io" description = "DevStream (dtm) is an open-source DevOps toolchain manager." executables = ["dtm"] [commands] format = 1 label = "DevStream" description = "Download plugins and apply a DevStream configuration." quality = "ai-draft" base = "fig:dtm" 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/dtm.ts" license = "MIT" [[commands.group]] id = "basic" label = "Basic" fields = [] [[commands.subcommand]] path = ["init"] label = "Download plugins" description = "Download the plugins needed by a DevStream config file." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/dtm.ts" license = "MIT" [[commands.subcommand.field]] id = "config_file" label = "Config file" type = "path" path = { kind = "file", role = "input", must_exist = true } option = ["--config-file", "-f"] sources = ["fig"] [[commands.subcommand.field]] id = "plugin_dir" label = "Plugin directory" type = "path" path = { kind = "directory", role = "input" } option = ["--plugin-dir", "-d"] sources = ["fig"] [[commands.subcommand.field]] id = "all" label = "Download all plugins" type = "boolean" option = ["--all", "-a"] sources = ["fig"] [[commands.subcommand.field]] id = "download_only" label = "Download only" type = "boolean" option = ["--download-only"] sources = ["fig"] [[commands.subcommand.task]] id = "init" label = "Init from config" fields = ["config_file"] required = ["config_file"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["config_file", "all", "download_only", "plugin_dir"] [[commands.subcommand]] path = ["apply"] label = "Apply configuration" description = "Create or update DevOps tools from a config file." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/dtm.ts" license = "MIT" [[commands.subcommand.field]] id = "config_file" label = "Config file" type = "path" path = { kind = "file", role = "input", must_exist = true } option = ["--config-file", "-f"] sources = ["fig"] [[commands.subcommand.field]] id = "plugin_dir" label = "Plugin directory" type = "path" path = { kind = "directory", role = "input" } option = ["--plugin-dir", "-d"] sources = ["fig"] [[commands.subcommand.field]] id = "yes" label = "Apply without confirmation" type = "boolean" option = ["--yes", "-y"] effect = "exec" sources = ["fig"] [[commands.subcommand.task]] id = "apply" label = "Apply config" fields = ["config_file"] required = ["config_file"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["config_file", "plugin_dir", "yes"]