cross-release-cli
Advanced tools
+3
-2
@@ -153,3 +153,3 @@ import process from "node:process"; | ||
| //#region package.json | ||
| var version = "0.1.0"; | ||
| var version = "0.2.0"; | ||
@@ -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").option("-h, --help", "Display this message").help(); | ||
| 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(); | ||
| return cli.parse(argv); | ||
@@ -461,2 +461,3 @@ } | ||
| const cli = createCliProgram(argv); | ||
| if (cli.options.help) process.exit(ExitCode.Success); | ||
| const opts = resolveAppOptions(cli); | ||
@@ -463,0 +464,0 @@ this._options = opts; |
+4
-4
| { | ||
| "name": "cross-release-cli", | ||
| "type": "module", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "command line app for cross language bump utility", | ||
@@ -39,5 +39,5 @@ "author": { | ||
| "picocolors": "^1.1.1", | ||
| "unconfig": "^7.3.1", | ||
| "zod": "^3.24.3", | ||
| "cross-bump": "0.2.0" | ||
| "unconfig": "^7.3.2", | ||
| "zod": "^3.24.4", | ||
| "cross-bump": "0.2.1" | ||
| }, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
30388
0.04%817
0.12%0
-100%+ Added
- Removed
Updated
Updated
Updated