id = "bwdc" name = "Bitwarden Directory Connector CLI" description = "Sync users and groups from a directory service to a Bitwarden organization." homepage = "https://bitwarden.com" executables = ["bwdc"] [commands] format = 1 label = "Directory sync" description = "Preview or run a directory sync and read the last sync time. Login and directory settings are left out." quality = "ai-draft" base = "fig:bwdc" 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/bwdc.ts" license = "MIT" [[commands.subcommand]] path = ["test"] label = "Preview sync" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/bwdc.ts" license = "MIT" [[commands.subcommand.field]] id = "last" label = "Only changes since last sync" type = "boolean" option = ["--last"] sources = ["fig"] [[commands.subcommand.task]] id = "test" label = "Preview what would sync" fields = ["last"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["last"] [[commands.subcommand]] path = ["last-sync"] label = "Last sync time" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/bwdc.ts" license = "MIT" [[commands.subcommand.field]] id = "object" label = "Object" type = "enum" position = 0 choices = [{ value = "users", label = "Users" }, { value = "groups", label = "Groups" }] sources = ["fig"] [[commands.subcommand.task]] id = "last-sync" label = "Show last sync time" fields = ["object"] required = ["object"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["object"]