Commit a979487a authored by Niall McDaid's avatar Niall McDaid
Browse files

Update README

parent 4a463a11
Pipeline #76388 passed with stage
in 1 minute and 16 seconds
......@@ -59,18 +59,21 @@ pipenv run python -m lasloader.lascli fileload -h
pipenv run python -m lasloader.lascli fileload convert -h
```
A token is required to access an OSDU instance. The `-t/--token` option is used to specify the token, this is a string. As tokens are long strings we recommend that the token is stored in an environment variable. For example, on a Windows PowerShell prompt:
A token is required to access an OSDU instance. The `-t/--token` option is used to specify the token, this is a string. As tokens are long strings we recommend that the token is stored in an environment variable.
For example, on a Windows PowerShell prompt:
```
set OSDUTOKEN <token>
pipenv run python -m lasloader.lascli ingest wellbore -t $OSDUTOKEN
```
Or Windows command prompt
Or Windows command prompt:
```
set OSDUTOKEN=<token>
pipenv run python -m lasloader.lascli ingest wellbore -t %OSDUTOKEN%
```
This keeps the command line short. This can also be done for other commonly used options (e.g. `-u/--url`).
Many commands require a bearer token and filepath to a configuration file. If these are set as environment variables (named
'OSDUTOKEN' and 'CONFIGPATH' respectively), it is not necessary to provide them as arguments for commands (the CLI defaults to
use the environment variable).
## Deploy
......
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