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 generate" description
jkomyno committed
Jan 14, 2026 at 14:27 UTC
36210dd263e779a9ab467a02e38b6bc04275b7f3
2 files changed
+4
-4
ts/packages/cli/src/commands/generate.cmd.ts
+3
-3
@@ -14,14 +14,14 @@ export const outputOpt = Options.optional(
14
export const typeTools = Options.boolean('type-tools').pipe(
15
Options.withDefault(false),
16
Options.withDescription(
17
- 'Whether to emit type stubs for tools. This only applies to TypeScript projects.'
17
+ 'Generate typed input/output schemas for each tool (TypeScript only, slower)'
18
)
19
);
20
21
export const toolkitsOpt = Options.text('toolkits').pipe(
22
Options.repeated,
23
Options.withDescription(
24
- 'Filter output to only include the specified toolkits. Can be specified multiple times (e.g., --toolkits gmail --toolkits slack)'
24
+ 'Only generate types for specific toolkits (e.g., --toolkits gmail --toolkits slack)'
25
)
26
);
27
@@ -33,7 +33,7 @@ export const toolkitsOpt = Options.text('toolkits').pipe(
33
*/
34
export const generateCmd = Command.make('generate', { outputOpt, typeTools, toolkitsOpt }).pipe(
35
Command.withDescription(
36
- 'Updates the local type stubs with the latest app data, automatically detecting the language of the project in the current working directory (TypeScript | Python).'
36
+ 'Generate type stubs for toolkits, tools, and triggers, auto-detecting project language (TypeScript | Python)'
37
),
38
Command.withHandler(({ outputOpt, typeTools, toolkitsOpt }) =>
39
Effect.gen(function* () {
ts/packages/cli/test/src/commands/$default.cmd.test.ts
+1
-1
@@ -68,7 +68,7 @@ describe('CLI: composio', () => {
68
69
- logout Log out from the Composio SDK.
70
71
- - 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).
71
+ - generate [(-o, --output-dir directory)] [--type-tools] --toolkits text... Generate type stubs for toolkits, tools, and triggers, auto-detecting project language (TypeScript | Python)
72
73
- py Handle Python projects.
74