diff --git a/README.md b/README.md index 27dc204ce..3a40717c9 100644 --- a/README.md +++ b/README.md @@ -187,3 +187,5 @@ See [SECURITY](SECURITY.md) for reporting vulnerabilities and security informati ## License This project is licensed under the Apache-2.0 License. + + diff --git a/src/cli/cli.ts b/src/cli/cli.ts index 72cf5c50d..b56d15538 100644 --- a/src/cli/cli.ts +++ b/src/cli/cli.ts @@ -1,3 +1,4 @@ +import { registerArt } from './commands/art'; import { registerAdd } from './commands/add'; import { registerCreate } from './commands/create'; import { registerDeploy } from './commands/deploy'; @@ -189,6 +190,7 @@ export function registerCommands(program: Command) { registerTraces(program); registerUpdate(program); registerValidate(program); + registerArt(program); // Register primitive subcommands (add agent, remove agent, add memory, etc.) for (const primitive of ALL_PRIMITIVES) { diff --git a/src/cli/commands/art/command.tsx b/src/cli/commands/art/command.tsx new file mode 100644 index 000000000..20cc73222 --- /dev/null +++ b/src/cli/commands/art/command.tsx @@ -0,0 +1,32 @@ +import type { Command } from '@commander-js/extra-typings'; + +const BRAIN_ART = ` +\x1b[36m .---. .---. + / \\ / \\ + | () () | | () () | + \\ ^ / \\ ^ / + ||||| ||||| + .----' '-------' '----. + / .--. .--. .--. .--. \\ + / / .. \\ / .. \\ .. / .. \\ \\ + | | ; ; | | ; ; ; | ; ; | | + | | ; ; | | ; ; ; | ; ; | | + | | ; ; | | ; ; ; | ; ; | | + \\ \\ '' / \\ '' / '' \\ '' / / + \\ '--' '--' '--' '--' / + '-----. .-----' + | | + '-----. .-----' + | | + '-'\x1b[0m +`; + +export const registerArt = (program: Command) => { + program + .command('art') + .description('Display AgentCore ASCII art.') + .action(() => { + console.log(BRAIN_ART); + process.exit(0); + }); +}; diff --git a/src/cli/commands/art/index.ts b/src/cli/commands/art/index.ts new file mode 100644 index 000000000..b9847bfe8 --- /dev/null +++ b/src/cli/commands/art/index.ts @@ -0,0 +1 @@ +export { registerArt } from './command';