Interface CodeGeneratorCliOptions

interface CodeGeneratorCliOptions {
    argv?: string[];
    client?: boolean;
    logger?: LoggerLike;
    server?: boolean;
    stitching?: boolean;
    watch?: boolean;
}

Hierarchy (view full)

Properties

argv?: string[]

Set command-line arguments. Defaults to process.argv.

client?: boolean

Should client types be generated? Defaults to false.

logger?: LoggerLike

The logger used in the CLI. Defaults to console.

server?: boolean

Should server types be generated? Defaults to false.

stitching?: boolean
watch?: boolean

Should the CLI run in watch mode? Defaults to false.