Private
Readonly
loggerReturns an App object, created with the given config, that can start and stop the Solid server.
All values necessary to configure the server.
Private
createPrivate
createInstantiates the CliResolver.
Private
extractUses the CliExtractor to convert the CLI args to a Shorthand object.
Private
resolveThrows a new error that provides additional information through the extra message. Also appends the stack trace to the message. This is needed for errors that are thrown before the logger is created as we can't log those the standard way.
Private
resolveUses the ShorthandResolver to convert Shorthand to VariableBindings .
Starts the server with a given config.
All values necessary to configure the server.
Starts the server as a command-line application. Will exit the process on failure.
Made non-async to lower the risk of unhandled promise rejections. This is only relevant when this is used to start as a Node.js application on its own, if you use this as part of your code you probably want to use the async version.
Optional
argv?: CliArgvOptional
stderr?: WriteStream
A class that can be used to instantiate and start a server based on a Component.js configuration.