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/client/cli/src/index.ts

14 lines
362 B
TypeScript

import yargs from 'yargs';
import { createCommand } from './commands/create';
import { connectCommand } from './commands/connect';
import { declarationCommand } from './commands/declaration';
yargs
.demandCommand()
.command(createCommand)
.command(connectCommand)
.command(declarationCommand)
.alias('h', 'help')
.scriptName('tailchat')
.parse();