Skip to main content

Type Alias: RunMigrationsCliOptions

RunMigrationsCliOptions = MigrationRunnerOptions & object

Defined in: migrations/cli.ts:5

Type Declaration

argv

argv: string[]

The command line, without the executable and script: process.argv.slice(2).

bin?

optional bin?: string

How the program is named in usage text.

Default

'migrate'

print?

optional print?: (message) => void

Where status and help write.

Parameters

ParameterType
messagestring

Returns

void

Default

stdout