local
local
The OLP CLI supports the following:
local inspect
Opens the local Data Inspector in an external browser.
To inspect a specific catalog, see the
olp local catalog inspect command.
olp local inspect [command parameters]Optional parameters:
--quietDisplays empty output with no additional information.--scope <project HRN>Specifies the project HRN to use as the scope in the request. The value specified with--scopeoverrides any value forhere.token.scopeprovided in the credentials file used for the command.--credentials <path to credentials file>The name of a credentials file to use with the command. Credentials files are downloaded separately from the portal.--profile <profile name>The name of the credentials profile to use from theolpcli.inifile.
For more information on using credentials and profiles, see Credentials setup.
Example:
olp local inspectOutput:
A browser page should be opened shortly. If the browser does not show up, manually navigate to http://127.0.0.1:31005/inspector/?environment=here
Press CTRL-C to stop the local inspector...
NoteThe
olp local inspectcommand starts a local Data API server and does not return control to the user until the process is terminated.
local server
Starts a local data server.
olp local server [command parameters]Optional parameters:
--offline-modeStarts the server in offline mode. Remote catalogs will not be accessible.--port=31005Server TCP port. By default, the first available port from 31005 is used.--quietDisplays empty output with no additional information.--scope <project HRN>Specifies the project HRN to use as the scope in the request. The value specified with--scopeoverrides any value forhere.token.scopeprovided in the credentials file used for the command.--credentials <path to credentials file>The name of a credentials file to use with the command. Credentials files are downloaded separately from the portal.--profile <profile name>The name of the credentials profile to use from theolpcli.inifile.
For more information on using credentials and profiles, see Credentials setup.
Example:
olp local serverOutput:
Local Data server running at http://127.0.0.1:31005
Press CTRL-C to stop the server...
NoteThe
olp local servercommand starts a local Data server and does not return control to the user until the process is terminated.
Updated 21 days ago