id = "bit" name = "Bit" description = "Build and share composable software with components." homepage = "https://bit.dev" executables = ["bit"] [commands] format = 1 label = "Bit workspace" description = "Common Bit workspace jobs." quality = "ai-draft" base = "fig:bit" 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/bit.ts" license = "MIT" [[commands.subcommand]] path = ["status"] label = "Workspace status" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/bit.ts" license = "MIT" [[commands.subcommand.field]] id = "json" label = "JSON output" type = "boolean" option = ["--json", "-j"] sources = ["fig"] [[commands.subcommand.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose"] sources = ["fig"] [[commands.subcommand.field]] id = "strict" label = "Fail when issues are found" type = "boolean" option = ["--strict"] sources = ["fig"] [[commands.subcommand.task]] id = "status" label = "Show status" fields = ["json", "verbose"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["json", "verbose", "strict"] [[commands.subcommand]] path = ["tag"] label = "Tag components" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/bit.ts" license = "MIT" [[commands.subcommand.field]] id = "patterns" label = "Component patterns" description = "Leave empty to tag all new and modified components." type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "message" label = "Message" type = "string" option = ["--message", "-m"] sources = ["fig"] [[commands.subcommand.field]] id = "ver" label = "Version" type = "string" option = ["--ver", "-v"] sources = ["fig"] [[commands.subcommand.field]] id = "patch" label = "Patch bump" type = "boolean" option = ["--patch", "-p"] sources = ["fig"] [[commands.subcommand.field]] id = "minor" label = "Minor bump" type = "boolean" option = ["--minor"] sources = ["fig"] [[commands.subcommand.field]] id = "major" label = "Major bump" type = "boolean" option = ["--major"] sources = ["fig"] [[commands.subcommand.field]] id = "skip_tests" label = "Skip tests" type = "boolean" option = ["--skip-tests"] sources = ["fig"] [[commands.subcommand.field]] id = "unmodified" label = "Include unmodified components" type = "boolean" option = ["--unmodified", "-u"] sources = ["fig"] [[commands.subcommand.task]] id = "tag" label = "Tag with a message" fields = ["patterns", "message", "patch", "minor", "major"] required = ["message"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["patterns", "message", "ver", "patch", "minor", "major"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["skip_tests", "unmodified"] [[commands.subcommand]] path = ["import"] label = "Import components" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/bit.ts" license = "MIT" [[commands.subcommand.field]] id = "patterns" label = "Component IDs or patterns" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "override" label = "Override local changes" type = "boolean" option = ["--override", "-O"] effect = "overwrite" sources = ["fig"] [[commands.subcommand.field]] id = "dependencies" label = "Import dependencies" type = "boolean" option = ["--dependencies"] sources = ["fig"] [[commands.subcommand.field]] id = "skip_install" label = "Skip dependency installation" type = "boolean" option = ["--skip-dependency-installation"] sources = ["fig"] [[commands.subcommand.task]] id = "import" label = "Import components" fields = ["patterns", "dependencies"] required = ["patterns"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["patterns", "dependencies", "skip_install", "override"] [[commands.subcommand]] path = ["export"] label = "Export components" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/bit.ts" license = "MIT" [[commands.subcommand.field]] id = "patterns" label = "Component patterns" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "all" label = "Export all components" type = "boolean" option = ["--all"] sources = ["fig"] [[commands.subcommand.field]] id = "eject" label = "Eject to npm package" description = "Remove the component from the workspace and install it as a regular npm package." type = "boolean" option = ["--eject", "-e"] sources = ["fig"] [[commands.subcommand.task]] id = "export" label = "Export staged components" fields = ["patterns", "eject"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["patterns", "all", "eject"]