import { State } from "https://dotland.deno.dev/x/nessie@2.0.9/cli/state.ts";
The main state for the application.
Contains the client, and handles the communication to the database.
Constructors
new
State(options: StateOptions)Properties
client: NessieConfig["client"]
logger: LoggerFn
Methods
private
_fileExistsPrompt(file: string): Promise<boolean>private
_folderPrompt(folders: string[])Static Methods
private
_parseMigrationAndSeedFolders(options: NessieConfig)Parses and sets the migrationFolders and seedFolders