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 { Argument, Command } from 'effect/cli'; |
| 2 | import { runToolkitsVersion } from './toolkits.version.handler'; |
| 3 | |
| 4 | const slug = Argument.String('slug').pipe(Argument.withDescription('Toolkit slug (e.g. "gmail")')); |
| 5 | |
| 6 | /** |
| 7 | * Show toolkit version information: the latest available version and the last |
| 8 | * 20 available versions. |
| 9 | * |
| 10 | * @example |
| 11 | * ```bash |
| 12 | * composio dev toolkits version "gmail" |
| 13 | * ``` |
| 14 | */ |
| 15 | export const toolkitsCmd$Version = Command.make('version', { slug }, runToolkitsVersion).pipe( |
| 16 | Command.withDescription('Show latest and recent versions for a toolkit.') |
| 17 | ); |