Options
All
  • Public
  • Public/Protected
  • All
Menu

Api command.

Hierarchy

Implements

Index

Properties

description

description: "Runs an Express.js based REST API from current directory." = "Runs an Express.js based REST API from current directory."

A description text.

syntax

syntax: string = "[options]"

Syntax description, which is shown on help screen.

Methods

execute

Private setupAPIRoute

  • setupAPIRoute(ctx: CommandExecuteContext, route: express.Router, app: express.Express): Promise<() => any>
  • Parameters

    Returns Promise<() => any>

showHelp

  • showHelp(): Promise<void>
  • inheritdoc

    Returns Promise<void>

Generated using TypeDoc