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

next
ts 11 lines 411 Bytes
Raw
1 import { Argument, Command } from 'effect/cli';
2 import { runTriggersInfo } from './triggers.info.handler';
3
4 const slug = Argument.String('slug').pipe(
5 Argument.withDescription('Trigger slug (e.g. "GMAIL_NEW_GMAIL_MESSAGE")'),
6 Argument.optional
7 );
8
9 export const triggersCmd$Info = Command.make('info', { slug }, runTriggersInfo).pipe(
10 Command.withDescription('View details of a specific trigger type.')
11 );