Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
refactor(cli): make generate.cmd.ts options module-private
These options are only used within generate.cmd.ts for the auto-detect handler and are never imported elsewhere. Remove unnecessary exports.
jkomyno committed
Mar 17, 2026 at 16:05 UTC
f0221f5be937a036340d3ee0a24ef125fcee4061
1 file changed
+3
-3
ts/packages/cli/src/commands/generate/generate.cmd.ts
+3
-3
@@ -8,20 +8,20 @@ import { generatePythonTypeStubs } from '../py/commands/py.generate.cmd';
8
import { generateCmd$Py } from './generate.py.cmd';
9
import { generateCmd$Ts } from './generate.ts.cmd';
10
11
-export const outputOpt = Options.optional(
11
+const outputOpt = Options.optional(
12
Options.directory('output-dir', {
13
exists: 'either',
14
})
15
).pipe(Options.withAlias('o'), Options.withDescription('Output directory for type stubs'));
16
17
-export const typeTools = Options.boolean('type-tools').pipe(
17
+const typeTools = Options.boolean('type-tools').pipe(
18
Options.withDefault(false),
19
Options.withDescription(
20
'Generate typed input/output schemas for each tool (TypeScript only, slower)'
21
)
22
);
23
24
-export const toolkitsOpt = Options.text('toolkits').pipe(
24
+const toolkitsOpt = Options.text('toolkits').pipe(
25
Options.repeated,
26
Options.withDescription(
27
'Only generate types for specific toolkits (e.g., --toolkits gmail --toolkits slack)'