Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 04:45 UTC
| 1 | import { Command } from 'effect/cli'; |
| 2 | import { withCommandMeta } from 'src/invocation/command-identity'; |
| 3 | import { logsCmd$Tools } from './tools/logs.tools.cmd'; |
| 4 | import { logsCmd$Triggers } from './triggers/logs.triggers.cmd'; |
| 5 | import { withRegisteredSubcommands } from 'src/commands/registration'; |
| 6 | |
| 7 | /** |
| 8 | * CLI entry point for logs commands. |
| 9 | * |
| 10 | * @example |
| 11 | * ```bash |
| 12 | * composio dev logs <command> |
| 13 | * ``` |
| 14 | */ |
| 15 | export const logsCmd = Command.make('logs').pipe( |
| 16 | Command.withDescription('Inspect trigger and tool execution logs.'), |
| 17 | withRegisteredSubcommands([logsCmd$Triggers, logsCmd$Tools]), |
| 18 | withCommandMeta({ requiresLogin: true }) |
| 19 | ); |