The --owner
flag in ign fuel list
switches the command to search only cached models
#168
Labels
--owner
flag in ign fuel list
switches the command to search only cached models
#168
Environment
Description
ign fuel list -o openrobotics -t model
should list all models from openrobotics available on Fuel.Steps to reproduce
mkdir /tmp/fuel_test1
IGN_FUEL_CACHE_PATH=/tmp/fuel_test1 ign fuel list -o openrobotics --type model | wc -l
815
mkdir /tmp/fuel_test2
IGN_FUEL_CACHE_PATH=/tmp/fuel_test2 ign fuel download -u "https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Tunnel Tile 4 Lights"
IGN_FUEL_CACHE_PATH=/tmp/fuel_test2 ign fuel list -o openrobotics --type model | wc -l
8
This is at least unexpected. I'd expect either a switch that would allow me choosing between all and cached models, or a warning/info message, that would tell me that the command uses only what it found in the local cache.
When called without the
--owner
flag, the command seems to always contact the fuel database and downloads the list of all models.The text was updated successfully, but these errors were encountered: