@hubspot/cli 7.6.0-beta.15 → 7.6.0-beta.17

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.
@@ -6,8 +6,9 @@ import { addMcpServerToConfig, supportedTools } from '../../lib/mcp/setup.js';
6
6
  import { trackCommandUsage } from '../../lib/usageTracking.js';
7
7
  import { hasFeature } from '../../lib/hasFeature.js';
8
8
  import { FEATURES } from '../../lib/constants.js';
9
+ import { uiBetaTag } from '../../lib/ui/index.js';
9
10
  const command = ['setup'];
10
- const describe = commands.mcp.setup.describe;
11
+ const describe = uiBetaTag(commands.mcp.setup.describe, false);
11
12
  async function handler(args) {
12
13
  const { derivedAccountId } = args;
13
14
  const hasMcpAccess = await hasFeature(derivedAccountId, FEATURES.MCP_ACCESS);
package/commands/mcp.js CHANGED
@@ -9,7 +9,7 @@ function mcpBuilder(yargs) {
9
9
  yargs.command(startCommand).command(setupCommand).demandCommand(1, '');
10
10
  return yargs;
11
11
  }
12
- const builder = makeYargsBuilder(mcpBuilder, command, commands.mcp.describe, {
12
+ const builder = makeYargsBuilder(mcpBuilder, command, describe, {
13
13
  useGlobalOptions: true,
14
14
  });
15
15
  const mcpCommand = {
@@ -1,6 +1,6 @@
1
1
  import { AccountArgs, CommonArgs, ConfigArgs, EnvironmentArgs, YargsCommandModule } from '../../types/Yargs.js';
2
2
  export declare const command = "import-data";
3
- export declare const describe: undefined;
3
+ export declare const describe: "Import data into the CRM";
4
4
  type CrmImportDataArgs = CommonArgs & ConfigArgs & AccountArgs & EnvironmentArgs & {
5
5
  filePath: string | undefined;
6
6
  skipConfirm: boolean | undefined;
@@ -8,7 +8,7 @@ import { handleImportData, handleTargetTestAccountSelectionFlow, } from '../../l
8
8
  import { confirmImportDataPrompt } from '../../lib/prompts/confirmImportDataPrompt.js';
9
9
  import { commands } from '../../lang/en.js';
10
10
  export const command = 'import-data';
11
- export const describe = undefined; // commands.testAccount.subcommands.importData.describe;
11
+ export const describe = commands.testAccount.subcommands.importData.describe;
12
12
  async function handler(args) {
13
13
  const { derivedAccountId, userProvidedAccount, filePath: providedFilePath, skipConfirm, } = args;
14
14
  trackCommandUsage('crm-import-data', {}, derivedAccountId);
@@ -5,7 +5,7 @@ import deleteTestAccountCommand from './testAccount/delete.js';
5
5
  import { makeYargsBuilder } from '../lib/yargsUtils.js';
6
6
  import { commands } from '../lang/en.js';
7
7
  const command = ['test-account', 'test-accounts'];
8
- const describe = undefined; //commands.testAccount.describe;
8
+ const describe = commands.testAccount.describe;
9
9
  function testAccountBuilder(yargs) {
10
10
  yargs
11
11
  .command(createTestAccountCommand)
@@ -66,7 +66,6 @@ export async function projectAddPromptV3(components, selectedFeatures) {
66
66
  when: !selectedFeatures && selectedComponents.length === 0,
67
67
  type: 'checkbox',
68
68
  choices: components,
69
- loop: false,
70
69
  pageSize: components.length,
71
70
  },
72
71
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cli",
3
- "version": "7.6.0-beta.15",
3
+ "version": "7.6.0-beta.17",
4
4
  "description": "The official CLI for developing on HubSpot",
5
5
  "license": "Apache-2.0",
6
6
  "repository": "https://github.com/HubSpot/hubspot-cli",