id = "yalc" name = "yalc" description = "Works with npm/yarn packages locally via a store." executables = ["yalc"] [commands] format = 1 label = "Local package workflow" description = "Publish, push, add and remove local packages." quality = "ai-draft" base = "fig:yalc" 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/yalc.ts" license = "MIT" [[commands.subcommand]] path = ["publish"] label = "Publish to local store" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/yalc.ts" license = "MIT" [[commands.subcommand.field]] id = "push" label = "Push to installations" type = "boolean" option = ["--push"] sources = ["fig"] [[commands.subcommand.field]] id = "no_scripts" label = "Skip scripts" type = "boolean" option = ["--no-scripts"] sources = ["fig"] [[commands.subcommand.field]] id = "content" label = "Show published files" type = "boolean" option = ["--content"] sources = ["fig"] [[commands.subcommand.field]] id = "private" label = "Force private package" type = "boolean" option = ["--private"] sources = ["fig"] [[commands.subcommand.task]] id = "publish" label = "Publish" fields = ["no_scripts", "private"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["push", "no_scripts", "content", "private"] [[commands.subcommand]] path = ["add"] label = "Add package to project" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/yalc.ts" license = "MIT" [[commands.subcommand.field]] id = "package" label = "Package" type = "string" position = 0 multiple = true min = 1 sources = ["fig"] [[commands.subcommand.field]] id = "dev" label = "Dev dependency" type = "boolean" option = ["--dev"] sources = ["fig"] [[commands.subcommand.field]] id = "link" label = "link: dependency" type = "boolean" option = ["--link"] sources = ["fig"] [[commands.subcommand.field]] id = "pure" label = "Do not touch package.json" type = "boolean" option = ["--pure"] sources = ["fig"] [[commands.subcommand.task]] id = "add" label = "Add package" fields = ["package", "dev"] required = ["package"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["package", "dev", "link", "pure"] [[commands.subcommand]] path = ["remove"] label = "Remove package" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/yalc.ts" license = "MIT" [[commands.subcommand.field]] id = "package" label = "Package" type = "string" position = 0 multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "all" label = "Remove all packages" type = "boolean" option = ["--all"] effect = "delete" sources = ["fig"] [[commands.subcommand.task]] id = "remove" label = "Remove package" fields = ["package"] required = ["package"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["package", "all"]