id = "cliff-jumper" name = "cliff-jumper" description = "A small CLI tool to create a semantic release and git-cliff powered changelog." executables = ["cliff-jumper"] [commands] format = 1 label = "Create a release" description = "Bump the version, update the changelog and tag. Message and tag templates are left out." quality = "ai-draft" base = "fig:cliff-jumper" 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/cliff-jumper.ts" license = "MIT" [[commands.field]] id = "name" label = "Package name" type = "string" option = ["--name", "-n"] sources = ["fig"] [[commands.field]] id = "package_path" label = "Package path" description = "Use . for a non-monorepo." type = "path" option = ["--package-path", "-p"] path = { kind = "directory", role = "input", must_exist = true } sources = ["fig"] [[commands.field]] id = "org" label = "NPM org scope" description = "Without the @ sign or trailing slash." type = "string" option = ["--org", "-o"] sources = ["fig"] [[commands.field]] id = "preid" label = "Prerelease identifier" type = "string" option = ["--preid"] sources = ["fig"] [[commands.field]] id = "dry_run" label = "Dry run" description = "Only log the release strategy; take no actions." type = "boolean" option = ["--dry-run"] sources = ["fig"] [[commands.field]] id = "first_release" label = "First release" type = "boolean" option = ["--first-release"] sources = ["fig"] [[commands.field]] id = "install" label = "Run install after bump" type = "boolean" option = ["--install", "-i"] sources = ["fig"] [[commands.field]] id = "skip_tag" label = "Skip git tag" type = "boolean" option = ["--skip-tag", "-t"] sources = ["fig"] [[commands.field]] id = "verbose" label = "Verbose" type = "boolean" option = ["--verbose", "-v"] sources = ["fig"] [[commands.task]] id = "preview" label = "Preview release (dry run)" fields = ["name", "package_path", "org", "dry_run"] required = ["name", "package_path"] set = { dry_run = [true] } [[commands.task]] id = "release" label = "Release" fields = ["name", "package_path", "org", "preid"] required = ["name", "package_path"] [[commands.group]] id = "basic" label = "Basic" fields = ["name", "package_path", "org", "dry_run"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["preid", "first_release", "install", "skip_tag", "verbose"]