UNPKG

@adonisjs/lucid

Version:

SQL ORM built on top of Active Record pattern

25 lines (24 loc) • 625 B
import { BaseCommand } from '@adonisjs/core/ace'; import { type CommandOptions } from '@adonisjs/core/types/ace'; export default class MakeSeeder extends BaseCommand { static commandName: string; static description: string; static options: CommandOptions; /** * The name of the seeder file. */ name: string; /** * Read the contents from this file (if the flag exists) and use * it as the raw contents */ contentsFrom: string; /** * Forcefully overwrite existing files */ force: boolean; /** * Execute command */ run(): Promise<void>; }