λORM CLI


λORM CLI / IncorporateCommand

Class: IncorporateCommand

Defined in: packages/cli/src/lib/infrastructure/command/incorporate.ts:7

Implements

  • CommandModule

Constructors

Constructor

new IncorporateCommand(): IncorporateCommand

Returns

IncorporateCommand

Properties

command

command: string = 'incorporate'

Defined in: packages/cli/src/lib/infrastructure/command/incorporate.ts:8

string (or array of strings) that executes this command when given on the command line, first string may contain positional args

Implementation of

CommandModule.command


describe

describe: string = 'Update schema and push source and import data.'

Defined in: packages/cli/src/lib/infrastructure/command/incorporate.ts:9

string used as the description for the command in help text, use false for a hidden command

Implementation of

CommandModule.describe

Methods

builder()

builder(args): Argv\<object & object & object & object & object & object>

Defined in: packages/cli/src/lib/infrastructure/command/incorporate.ts:11

object declaring the options the command accepts, or a function accepting and returning a yargs instance

Parameters

args

Argv

Returns

Argv\<object & object & object & object & object & object>

Implementation of

CommandModule.builder


handler()

handler(args): Promise\<void>

Defined in: packages/cli/src/lib/infrastructure/command/incorporate.ts:39

a function which will be passed the parsed argv.

Parameters

args
_

(string | number)[]

Non-option arguments

$0

string

The script name or node command

Returns

Promise\<void>

Implementation of

CommandModule.handler