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

Update README

parent 0d2bc141
Pipeline #72693 passed with stage
in 41 seconds
......@@ -52,25 +52,25 @@ To invoke the CLI using the virtual environment and from within the `src` folder
```
pipenv run python -m lascli <group> <command> <options>
```
Available groups are `fileload` and `list`. Help can be obtained with the `-h` option.
Available groups are `fileload`, `ingest`, `list` and `download`. Help can be obtained with the `-h` option.
```
pipenv run python -m lascli -h
pipenv run python -m lascli fileload -h
pipenv run python -m lascli fileload ingest -h
pipenv run python -m 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:
```
set OSDUTOKEN <token>
pipenv run python -m lascli fileload ingest -t $OSDUTOKEN
pipenv run python -m lascli ingest wellbore -t $OSDUTOKEN
```
Or windows command prompt
Or Windows command prompt
```
set OSDUTOKEN=<token>
pipenv run python -m lascli fileload ingest -t %OSDUTOKEN%
pipenv run python -m lascli ingest wellbore -t %OSDUTOKEN%
```
This keeps the command line short.
This keeps the command line short. This can also be done for other commonly used options (e.g. `-u/--url`).
### Config file
......
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