Skip to content

basalt / prisma/src / CommandContext

Interface: CommandContext ​

Defined in: prisma/src/command.ts:26

What the prisma commands need from the CLI's CommandContext.

Properties ​

args ​

> args: string[]

Defined in: prisma/src/command.ts:29

Positional arguments after the command name.


flags ​

> flags: Record<string, string | boolean>

Defined in: prisma/src/command.ts:31

Parsed flags: --key=value → string, --flag → true.


io ​

> io: CommandIo

Defined in: prisma/src/command.ts:27

Released under the MIT License.