UNPKG

agents

Version:

A home for your AI agents

26 lines (25 loc) 1.02 kB
#!/usr/bin/env node import yargs from "yargs"; import { hideBin } from "yargs/helpers"; //#region src/cli/create.ts function createCli(argv = process.argv) { return yargs(hideBin(argv)).scriptName("agents").usage("$0 <command> [options]").command(["init", "create"], "Initialize an agents project", (cmd) => cmd, async () => { console.log("agents init: not implemented yet"); process.exit(0); }).command("dev", "Start development server", (cmd) => cmd, async () => { console.log("agents dev: not implemented yet"); process.exit(0); }).command("deploy", "Deploy agents to Cloudflare", (cmd) => cmd, async () => { console.log("agents deploy: not implemented yet"); process.exit(0); }).command("mcp", "The agents mcp server", (cmd) => cmd, async () => { console.log("agents mcp: not implemented yet"); process.exit(0); }).demandCommand(1, "Please provide a command").strict().help(); } //#endregion //#region src/cli/index.ts createCli().parse(); //#endregion export {}; //# sourceMappingURL=index.js.map