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

27 lines
840 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 { benchmarkCommand } from './commands/benchmark';
import { dockerCommand } from './commands/docker';
import { usageCommand } from './commands/usage';
import { registryCommand } from './commands/registry';
import { smtpCommand } from './commands/smtp';
yargs
.demandCommand()
.command(createCommand)
.command(connectCommand)
.command(appCommand)
.command(benchmarkCommand)
.command(declarationCommand)
.command(dockerCommand)
.command(registryCommand)
.command(smtpCommand)
.command(usageCommand)
.alias('h', 'help')
.scriptName('tailchat')
.parse();