@aivin-labs/cli 1.0.34 → 1.0.35

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/bin/cli.mjs +1 -2
  2. package/package.json +1 -1
package/bin/cli.mjs CHANGED
@@ -834,9 +834,8 @@ program
834
834
  .command('server [target]')
835
835
  .description('Show or switch the active Aivin server (cloud, vn, local, or a URL)')
836
836
  .option('--force', 'Switch servers without asking before stopping the current remote connection')
837
- .action(async (target, command) => {
837
+ .action(async (target, options) => {
838
838
  try {
839
- const options = command.opts();
840
839
  const current = normalizeServerUrl(process.env.AIVIN_BASE_URL || readActiveServer() || DEFAULT_AIVIN_BASE_URL);
841
840
  if (!target) {
842
841
  console.log(`Máy chủ đang chọn: ${serverLabel(current)} (${current})`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aivin-labs/cli",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "aivin CLI - scaffold, run, and deploy Aivin plugins built on @aivin-labs/sdk",
5
5
  "type": "module",
6
6
  "bin": {