@hubspot/cli 7.6.0-beta.15 → 7.6.0-beta.16
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.
package/commands/mcp/setup.js
CHANGED
|
@@ -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,
|
|
12
|
+
const builder = makeYargsBuilder(mcpBuilder, command, describe, {
|
|
13
13
|
useGlobalOptions: true,
|
|
14
14
|
});
|
|
15
15
|
const mcpCommand = {
|
package/commands/testAccount.js
CHANGED
|
@@ -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 =
|
|
8
|
+
const describe = commands.testAccount.describe;
|
|
9
9
|
function testAccountBuilder(yargs) {
|
|
10
10
|
yargs
|
|
11
11
|
.command(createTestAccountCommand)
|