@adonisjs/lucid
Version:
SQL ORM built on top of Active Record pattern
21 lines (20 loc) • 546 B
TypeScript
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;
/**
* Execute command
*/
run(): Promise<void>;
}