Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

feat(ts/cli): update "composio py generate" description

jkomyno17319981768f
diff --git a/ts/packages/cli/src/commands/py/commands/py.generate.cmd.ts b/ts/packages/cli/src/commands/py/commands/py.generate.cmd.ts
index 9d4e4472c..9857c6895 100644
--- a/ts/packages/cli/src/commands/py/commands/py.generate.cmd.ts
+++ b/ts/packages/cli/src/commands/py/commands/py.generate.cmd.ts
@@ -21,12 +21,14 @@ export const outputOpt = Options.optional(
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)'
)
);
const _pyCmd$Generate = Command.make('generate', { outputOpt, toolkitsOpt }).pipe(
- Command.withDescription('Updates the local type stubs with the latest app data.')
+ Command.withDescription(
+ 'Generate Python type stubs for toolkits, tools, and triggers from the Composio API'
+ )
);
export const pyCmd$Generate = _pyCmd$Generate.pipe(Command.withHandler(generatePythonTypeStubs));
diff --git a/ts/packages/cli/test/src/commands/$default.cmd.test.ts b/ts/packages/cli/test/src/commands/$default.cmd.test.ts
index 15d6f4f81..bdaf9de04 100644
--- a/ts/packages/cli/test/src/commands/$default.cmd.test.ts
+++ b/ts/packages/cli/test/src/commands/$default.cmd.test.ts
@@ -72,7 +72,7 @@ describe('CLI: composio', () => {
- py Handle Python projects.
- - py generate [(-o, --output-dir directory)] --toolkits text... Updates the local type stubs with the latest app data.
+ - py generate [(-o, --output-dir directory)] --toolkits text... Generate Python type stubs for toolkits, tools, and triggers from the Composio API
- ts Handle TypeScript projects.