UNPKG

@aquiles-ai/aquiles-rag-js

Version:

Aquiles-RAG-JS variant made in Fastify to continue the high-performance philosophy of the Python version with FastAPI

20 lines (16 loc) 403 B
import { Command, Flags } from '@oclif/core' export default class Hello extends Command { static description = 'Greets the given name' static flags = { name: Flags.string({ char: 'n', description: 'Name to greet', default: 'world' }) } async run() { const { flags } = await this.parse(Hello) const output = `Hello, ${flags.name}!` this.log(output) } }