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, 06:00 UTC
| 1 | import { Argument, Command } from 'effect/cli'; |
| 2 | import { runConnectedAccountsInfo } from './connected-accounts.info.handler'; |
| 3 | |
| 4 | const id = Argument.String('id').pipe( |
| 5 | Argument.withDescription('Connected account ID (nanoid)'), |
| 6 | Argument.optional |
| 7 | ); |
| 8 | |
| 9 | /** |
| 10 | * View details of a specific connected account. |
| 11 | * |
| 12 | * @example |
| 13 | * ```bash |
| 14 | * composio dev connected-accounts info "con_1a2b3c4d5e6f" |
| 15 | * ``` |
| 16 | */ |
| 17 | export const connectedAccountsCmd$Info = Command.make( |
| 18 | 'info', |
| 19 | { id }, |
| 20 | runConnectedAccountsInfo |
| 21 | ).pipe(Command.withDescription('View details of a specific connected account.')); |