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 { withCommandMeta } from 'src/invocation/command-identity'; |
| 2 | import { Command } from 'effect/cli'; |
| 3 | import { orgsCmd$List } from './list/orgs.list.cmd'; |
| 4 | import { orgsCmd$Switch } from './switch/orgs.switch.cmd'; |
| 5 | import { withRegisteredSubcommands } from 'src/commands/registration'; |
| 6 | |
| 7 | /** |
| 8 | * CLI entry point for organization context commands. |
| 9 | */ |
| 10 | export const orgsCmd = Command.make('orgs').pipe( |
| 11 | Command.withDescription('Manage default global organization/project context.'), |
| 12 | withRegisteredSubcommands([orgsCmd$List, orgsCmd$Switch]), |
| 13 | withCommandMeta({ requiresLogin: true }) |
| 14 | ); |