Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
| 1 | import { withCommandMeta } from 'src/invocation/command-identity'; |
| 2 | import { Command } from 'effect/cli'; |
| 3 | import { NO_SHARED_FLAGS } from 'src/commands/surface'; |
| 4 | import { toolkitsCmd$List } from './list/toolkits.list.cmd'; |
| 5 | import { toolkitsCmd$Info } from './info/toolkits.info.cmd'; |
| 6 | import { toolkitsCmd$Search } from './search/toolkits.search.cmd'; |
| 7 | import { toolkitsCmd$Version } from './version/toolkits.version.cmd'; |
| 8 | import { withRegisteredSubcommands } from 'src/commands/registration'; |
| 9 | |
| 10 | /** |
| 11 | * CLI entry point for toolkit discovery commands. |
| 12 | * |
| 13 | * @example |
| 14 | * ```bash |
| 15 | * composio dev toolkits <command> |
| 16 | * ``` |
| 17 | */ |
| 18 | export const toolkitsCmd = Command.make('toolkits').pipe( |
| 19 | Command.withDescription('Discover and inspect Composio toolkits.'), |
| 20 | withRegisteredSubcommands([ |
| 21 | toolkitsCmd$List, |
| 22 | toolkitsCmd$Info, |
| 23 | toolkitsCmd$Search.pipe(withCommandMeta({ sharedFlags: NO_SHARED_FLAGS })), |
| 24 | toolkitsCmd$Version.pipe(withCommandMeta({ sharedFlags: NO_SHARED_FLAGS })), |
| 25 | ]), |
| 26 | withCommandMeta({ requiresLogin: true }) |
| 27 | ); |