You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/apps/cli/src/index.ts

21 lines
600 B
TypeScript

import './update';
import yargs from 'yargs';
import { createCommand } from './commands/create';
import { connectCommand } from './commands/connect';
import { appCommand } from './commands/app';
import { declarationCommand } from './commands/declaration';
import { benchCommand } from './commands/bench';
import { dockerCommand } from './commands/docker';
yargs
.demandCommand()
.command(createCommand)
.command(connectCommand)
.command(appCommand)
.command(benchCommand)
.command(declarationCommand)
.command(dockerCommand)
.alias('h', 'help')
.scriptName('tailchat')
.parse();