Class WebdaConsole
Hierarchy
- WebdaConsole
Properties
Methods
Properties
Type declaration
-
[key: string]: WebdaShellExtension
Type declaration
-
-
Returns never
-
Methods
-
Parameters
-
str: string
Returns string
-
-
Parameters
-
argv: yargs.Arguments
Returns Promise<number>
-
-
Launch debug on application
Compiling application as it is modified Relaunching the serve command on any new modification
Parameters
-
argv: yargs.Arguments
Returns Promise<unknown>
-
-
Deploy the new code
Parameters
-
argv: yargs.Arguments
Returns Promise<number>
-
-
Parameters
-
ext: WebdaShellExtension
extension to execute
-
relPath: string
relative path of the extension
-
argv: any
arguments passed to the shell
Returns Promise<any>
-
-
Returns Promise<void>
-
Generate the OpenAPI definition in a file
If filename can end with .yml or .json to select the format
Parameters
-
argv: yargs.Arguments
Returns Promise<void>
-
-
Generate a random string based on crypto random
Parameters
-
Default value length: number = 256
of the string
Returns Promise<string>
-
-
Generate a new sessionSecret for the application
Returns Promise<void>
-
Get debugger current status
Returns DebuggerStatus
-
Get shell package version
Returns any
-
Main command switch
Parse arguments Init logger Create Webda Application Run the command or display help
Parameters
-
args: any
-
versions: any
-
Default value output: WorkerOutput = undefined
Returns Promise<number>
-
-
Parameters
-
args: any
-
versions: any
-
Default value output: WorkerOutput = undefined
Returns Promise<number>
-
-
Parameters
-
Default value commands: string[] = []
Returns void
-
-
Generate a new Webda Application based on yeoman
Parameters
-
argv: yargs.Arguments
-
Default value generatorName: string = "webda"
Returns Promise<void>
-
-
Init loggers
Parameters
-
argv: yargs.Arguments
Returns Promise<void>
-
-
Parameters
-
appPath: any
Returns number
-
-
Parameters
-
level: WorkerLogLevel
-
Rest ...args: any[]
Returns void
-
-
If deployment in argument: display or export the configuration Otherwise launch the configuration UI
Parameters
-
argv: yargs.Arguments
Returns Promise<number>
-
-
Parameters
-
Rest ...args: any[]
Returns void
-
-
Parameters
-
args: any
Returns yargs.Arguments
-
-
Parameters
-
argv: any
Returns Promise<unknown>
-
-
Get a service configuration
Parameters
-
argv: any
Returns Promise<number>
-
-
Parameters
-
status: DebuggerStatus
Returns void
-
-
Stop the debugger and wait for its complete stop
Returns Promise<void>
-
Launch tsc --watch and pass output to the stream
Parameters
-
stream: Transform
to get output from
Returns Promise<void>
-
-
Run a method of a service
Parameters
-
argv: yargs.Arguments
Returns Promise<void | -1>
-
Generated using TypeDoc
If deployment in argument: display or export the configuration Otherwise launch the configuration UI