Skip to content

Commit

Permalink
small doc update to demonstrate list command
Browse files Browse the repository at this point in the history
  • Loading branch information
yeastplume committed Jun 10, 2020
1 parent 8b77330 commit d574fdb
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions docs/ex_001.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,29 +49,22 @@ We now need to import the palette and give it an internal id that later commands
aloevera -p project.av palette import palette_1 nes-palette.png
```

All going well, the command should execute and you should have a project file containing the palette. Although we should never need to manipulate the project file directly, there's no harm opening it up and looking at the palette entries, which should look similar to:
All going well, the command should execute and you should have a project file containing the palette. You can view the contents of a project file with the `list` command as follows:

```.sh
aloevera -p project.av list
```

"palettes": {
"palette_1": {
"id": "palette_1",
"entries": [
{
"r": 0,
"g": 0,
"b": 0
},
{
"r": 0,
"g": 6,
"b": 0
},
{
"r": 7,
"g": 7,
"b": 7
},
```
Elements in project.av
--------------
Palettes:
palette_1:
Color Count: 56
Imagesets:
Tilemaps:
Sprites:
Bitmaps:
```

## About Aloevera Palettes
Expand Down

0 comments on commit d574fdb

Please sign in to comment.