@isvbytes.com/cli 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -97,7 +97,7 @@ function parseJwtExpiry(token) {
97
97
 
98
98
  // src/index.ts
99
99
  var program = new Command();
100
- program.name("xcloud-token").description("\u751F\u6210 xCloud authToken\uFF0C\u4F9B AI agent \u548C CLI \u5DE5\u5177\u4F7F\u7528").version("1.0.0");
100
+ program.name("isvbytes").description("\u751F\u6210 xCloud authToken\uFF0C\u4F9B AI agent \u548C CLI \u5DE5\u5177\u4F7F\u7528").version("1.0.0");
101
101
  program.command("generate").description("\u751F\u6210\u6307\u5B9A\u7528\u6237\u7684 authToken").requiredOption("-e, --env <env>", `\u76EE\u6807\u73AF\u5883 (${SUPPORTED_ENVS.join("/")})`, "prod").requiredOption("-c, --code <code>", "\u7528\u6237 IT code (\u5982 zhangys36)").option("-o, --org-id <orgId>", "\u7EC4\u7EC7 ID", "88").option("--json", "\u4EE5 JSON \u683C\u5F0F\u8F93\u51FA\uFF08\u9002\u5408\u7A0B\u5E8F\u6D88\u8D39\uFF09", false).option("--quiet", "\u53EA\u8F93\u51FA token \u503C\uFF0C\u9002\u5408\u7BA1\u9053\u4F20\u9012", false).action(async (opts) => {
102
102
  const result = await generateToken({
103
103
  env: opts.env,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@isvbytes.com/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI tool to generate xCloud authToken for AI agents",
5
5
  "type": "module",
6
6
  "bin": {
7
- "oliverz": "./dist/index.js"
7
+ "isvbytes": "./dist/index.js"
8
8
  },
9
9
  "files": [
10
10
  "dist"