cross-release-cli
Advanced tools
+3
-3
@@ -153,3 +153,3 @@ import process from "node:process"; | ||
| //#region package.json | ||
| var version = "0.2.1"; | ||
| var version = "0.2.2"; | ||
@@ -160,3 +160,3 @@ //#endregion | ||
| function createCliProgram(argv) { | ||
| const cli = cac("cross-release").usage("A release tool that support multi programming language").version(version).usage("[version] [options]").option("-c, --config [file]", "Config file (auto detect by default)").option("-D, --dry", "Dry run").option("-d, --debug", "Enable debug mode").option("-e, --exclude [dir...]", "Folders to exclude from search").option("-m, --main [lang]", "Base project language [e.g. java, rust, javascript]").option("-r, --recursive", "Run the command for each project in the workspace").option("-x, --execute [command...]", "Execute the command").option("-y, --yes", "Answer yes to all prompts").option("--cwd [dir]", "Set working directory").option("--commit", "Committing changes").option("--commit.signoff", "Pushing Commit with signoff").option("--commit.stageAll", "Stage all changes before pushing").option("--commit.template <template>", "Template for commit message").option("--commit.verify", "Verify commit message").option("--push", "Pushing Commit to remote").option("--push.followTags", "Pushing with follow tags").option("--push.branch <branch>", "Branch name to push").option("--push.followTags", "pushing with follow tags").option("--tag", "Tagging for release").option("--tag.template <template>", "Template for tag message").help(); | ||
| const cli = cac("cross-release").usage("A release tool that support multi programming language").version(version).usage("[version] [options]").option("-a, --all", "shortcut for --commit.stageAll").option("-c, --config [file]", "Config file (auto detect by default)").option("-D, --dry", "Dry run").option("-d, --debug", "Enable debug mode").option("-e, --exclude [dir...]", "Folders to exclude from search").option("-m, --main [lang]", "Base project language [e.g. java, rust, javascript]").option("-r, --recursive", "Run the command for each project in the workspace").option("-x, --execute [command...]", "Execute the command").option("-y, --yes", "Answer yes to all prompts").option("--cwd [dir]", "Set working directory").option("--commit", "Committing changes").option("--commit.signoff", "Commit with signoff").option("--commit.stageAll", "Stage all changes before commit").option("--commit.template <template>", "Template for commit message").option("--commit.verify", "Verify commit message").option("--push", "Pushing Commit to remote").option("--push.followTags", "Pushing with follow tags").option("--push.branch <branch>", "Branch name to push").option("--push.followTags", "pushing with follow tags").option("--tag", "Tagging for release").option("--tag.template <template>", "Template for tag message").help(); | ||
| return cli.parse(argv); | ||
@@ -167,3 +167,3 @@ } | ||
| const opts = { | ||
| commit: options.commit, | ||
| commit: merge({ stageAll: options.all }, options.commit), | ||
| config: options.config, | ||
@@ -170,0 +170,0 @@ cwd: options.cwd, |
+2
-2
| { | ||
| "name": "cross-release-cli", | ||
| "type": "module", | ||
| "version": "0.2.2", | ||
| "version": "0.3.0", | ||
| "description": "command line app for cross language bump utility", | ||
@@ -41,3 +41,3 @@ "author": { | ||
| "zod": "^3.24.4", | ||
| "cross-bump": "0.2.2" | ||
| "cross-bump": "0.3.0" | ||
| }, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
30517
0.26%+ Added
- Removed
Updated