Skip to content

Commit

Permalink
fix readme (#443)
Browse files Browse the repository at this point in the history
Signed-off-by: Van Malleghem Antoine <antoine.vanmalleghem@botronics.be>
  • Loading branch information
avanmalleghem authored Sep 3, 2024
1 parent 04f0a04 commit d8e5fae
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Default is `/usr/local/share/gz`.
For a complete list of commands run `gz fuel -h` on the command line.

**List all models**

```{.sh}
$ gz fuel list -t model -r | head
https://fuel.gazebosim.org/anonymous/test_model_595389531
Expand All @@ -46,6 +47,7 @@ https://fuel.gazebosim.org/anonymous/test_model_380348669
```

**Download a model**

```{.sh}
$ gz fuel download -u https://fuel.gazebosim.org/1.0/OpenRobotics/models/Ambulance -v 4
Downloading model:
Expand Down Expand Up @@ -98,13 +100,14 @@ in.
Create a private token at
[https://app.gazebosim.org/settings#access_tokens](https://app.gazebosim.org/settings#access_tokens). Store the generated token someplace safe.
The private token can then used to upload a model:
The private token can then be used to upload a model:
```{.sh}
gz fuel upload -m ~/path_to_model --header 'Private-token: <TOKEN>'
```

## Dependencies
On ubuntu run

```{.sh}
sudo apt install ruby-ffi libzip-dev libcurl-dev libjsoncpp-dev
```
Expand Down

0 comments on commit d8e5fae

Please sign in to comment.