Commit e588d1f3 authored by Mark Hewitt's avatar Mark Hewitt
Browse files

fix osducli command references

parent 8a9fe1d8
Pipeline #70212 passed with stages
in 1 minute and 53 seconds
......@@ -20,7 +20,7 @@
"console": "integratedTerminal"
},
{
"name": "Python: osducli config list",
"name": "Python: osdu config list",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/osducli/__main__.py",
......@@ -31,7 +31,7 @@
]
},
{
"name": "Python: osducli status",
"name": "Python: osdu status",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/osducli/__main__.py",
......@@ -41,7 +41,7 @@
]
},
{
"name": "Python: osducli list records",
"name": "Python: osdu list records",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/osducli/__main__.py",
......@@ -52,7 +52,7 @@
]
},
{
"name": "Python: osducli schema list",
"name": "Python: osdu schema list",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/osducli/__main__.py",
......@@ -63,7 +63,7 @@
]
},
{
"name": "Python: osducli unit list",
"name": "Python: osdu unit list",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/osducli/__main__.py",
......@@ -74,7 +74,7 @@
]
},
{
"name": "Python: osducli entitlements members list",
"name": "Python: osdu entitlements members list",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/src/osducli/__main__.py",
......
# OSDU Command Line Interface (osducli)
# OSDU Command Line Interface
[![Build](https://community.opengroup.org/osdu/platform/data-flow/data-loading/osdu-cli/badges/main/pipeline.svg)](https://community.opengroup.org/osdu/platform/data-flow/data-loading/osdu-cli/badges/main/pipeline.svg)
[![License](https://img.shields.io/pypi/l/osducli.svg)](https://community.opengroup.org/osdu/platform/data-flow/data-loading/osdu-cli/-/blob/main/LICENSE)
......
OSDU Command Line Interface (osducli)
=====================================
OSDU Command Line Interface
===========================
Command-line interface for interacting with OSDU.
......
......@@ -123,7 +123,7 @@ def cli(ctx):
\033[33mNote: This is currently a work in progress and may contain bugs or breaking changes.
Please share ideas / issues on the git page.\033[39m
Use `osducli version` to display the current version.
Use `osdu version` to display the current version.
Usage:
osdu [command]
......
......@@ -68,7 +68,7 @@ def handle_cli_exceptions(function):
logger.debug(ex)
except (NoOptionError, NoSectionError) as ex:
logger.warning(
"Configuration missing from config ('%s'). Run 'osducli config update'", ex.args[0]
"Configuration missing from config ('%s'). Run 'osdu config update'", ex.args[0]
)
sys.exit(1)
......@@ -117,7 +117,7 @@ class CliOsduClient(OsduClient):
)
else:
logger.error(
"Unknown type of authentication mode %s. Run 'osducli config update'.",
"Unknown type of authentication mode %s. Run 'osdu config update'.",
authentication_mode,
)
sys.exit(2)
......@@ -125,7 +125,7 @@ class CliOsduClient(OsduClient):
super().__init__(server, data_partition, credentials, retries)
except (NoOptionError, NoSectionError) as ex:
logger.warning(
"Authentication information missing from config ('%s'). Run 'osducli config update'",
"Authentication information missing from config ('%s'). Run 'osdu config update'",
ex.args[0],
)
sys.exit(1)
......@@ -172,7 +172,7 @@ class CliOsduClient(OsduClient):
logger.debug(ex)
except (NoOptionError, NoSectionError) as ex:
logger.warning(
"Configuration missing from config ('%s'). Run 'osducli config update'", ex.args[0]
"Configuration missing from config ('%s'). Run 'osdu config update'", ex.args[0]
)
sys.exit(1)
......@@ -207,7 +207,7 @@ class CliOsduClient(OsduClient):
logger.debug(ex)
except (NoOptionError, NoSectionError) as ex:
logger.warning(
"Configuration missing from config ('%s'). Run 'osducli config update'", ex.args[0]
"Configuration missing from config ('%s'). Run 'osdu config update'", ex.args[0]
)
sys.exit(1)
......@@ -241,7 +241,7 @@ class CliOsduClient(OsduClient):
logger.debug(ex)
except (NoOptionError, NoSectionError) as ex:
logger.warning(
"Configuration missing from config ('%s'). Run 'osducli config update'", ex.args[0]
"Configuration missing from config ('%s'). Run 'osdu config update'", ex.args[0]
)
sys.exit(1)
......@@ -306,7 +306,7 @@ class CliOsduClient(OsduClient):
logger.debug(ex)
except (NoOptionError, NoSectionError) as ex:
logger.warning(
"Configuration missing from config ('%s'). Run 'osducli config update'", ex.args[0]
"Configuration missing from config ('%s'). Run 'osdu config update'", ex.args[0]
)
sys.exit(1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment