@devries-cameron20 / composio Mirror · read-only
Fork 0

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

next
ts 22 lines 792 Bytes
Raw
1 import { Command, Flag } from 'effect/cli';
2 import { runSignup } from './signup.handler';
3
4 const noWait = Flag.Boolean('no-wait').pipe(
5 Flag.withDefault(false),
6 Flag.withDescription('Start agent signup and exit without waiting for credentials')
7 );
8
9 const noLogin = Flag.Boolean('no-login').pipe(
10 Flag.withDefault(false),
11 Flag.withDescription('Create or verify the agent identity without logging the CLI in')
12 );
13
14 const force = Flag.Boolean('force').pipe(
15 Flag.withAlias('f'),
16 Flag.withDefault(false),
17 Flag.withDescription('Create a new agent identity even if ~/.composio/agent.json already exists')
18 );
19
20 export const signupCmd = Command.make('signup', { noWait, noLogin, force }, runSignup).pipe(
21 Command.withDescription('Sign up and optionally log in as a Composio agent.')
22 );