Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
feat(ts/cli): update "composio generate" description
jkomyno36210dd263e7
diff --git a/ts/packages/cli/src/commands/generate.cmd.ts b/ts/packages/cli/src/commands/generate.cmd.tsindex d801ae910..55b41ab13 100644--- a/ts/packages/cli/src/commands/generate.cmd.ts+++ b/ts/packages/cli/src/commands/generate.cmd.ts@@ -14,14 +14,14 @@ export const outputOpt = Options.optional(export const typeTools = Options.boolean('type-tools').pipe(Options.withDefault(false),Options.withDescription(- 'Whether to emit type stubs for tools. This only applies to TypeScript projects.'+ 'Generate typed input/output schemas for each tool (TypeScript only, slower)'));export const toolkitsOpt = Options.text('toolkits').pipe(Options.repeated,Options.withDescription(- 'Filter output to only include the specified toolkits. Can be specified multiple times (e.g., --toolkits gmail --toolkits slack)'+ 'Only generate types for specific toolkits (e.g., --toolkits gmail --toolkits slack)'));@@ -33,7 +33,7 @@ export const toolkitsOpt = Options.text('toolkits').pipe(*/export const generateCmd = Command.make('generate', { outputOpt, typeTools, toolkitsOpt }).pipe(Command.withDescription(- 'Updates the local type stubs with the latest app data, automatically detecting the language of the project in the current working directory (TypeScript | Python).'+ 'Generate type stubs for toolkits, tools, and triggers, auto-detecting project language (TypeScript | Python)'),Command.withHandler(({ outputOpt, typeTools, toolkitsOpt }) =>Effect.gen(function* () {diff --git a/ts/packages/cli/test/src/commands/$default.cmd.test.ts b/ts/packages/cli/test/src/commands/$default.cmd.test.tsindex bdaf9de04..b9f79d135 100644--- a/ts/packages/cli/test/src/commands/$default.cmd.test.ts+++ b/ts/packages/cli/test/src/commands/$default.cmd.test.ts@@ -68,7 +68,7 @@ describe('CLI: composio', () => {- logout Log out from the Composio SDK.- - generate [(-o, --output-dir directory)] [--type-tools] --toolkits text... Updates the local type stubs with the latest app data, automatically detecting the language of the project in the current working directory (TypeScript | Python).+ - generate [(-o, --output-dir directory)] [--type-tools] --toolkits text... Generate type stubs for toolkits, tools, and triggers, auto-detecting project language (TypeScript | Python)- py Handle Python projects.