Closed aqw closed 6 months ago
In my opinion, onyo get is misleading by returning <unset> rather than false for asset files.
onyo get
<unset>
false
The pseudo key isn't unset, rather we /know/ that indeed this asset is not an Asset Directory.
❱ onyo get --keys is_asset_directory --path accounting ─────────────────────────────────────────────────────────────────────────── is_asset_directory path ─────────────────────────────────────────────────────────────────────────── <unset> accounting/Bingo Bob/laptop_apple_macbook.oiw629 <unset> accounting/Bingo Bob/monitor_dell_PH123.86JZho True accounting/Bingo Bob/headphones_apple_airpods.uzl8e1 ───────────────────────────────────────────────────────────────────────────
In my opinion,
onyo get
is misleading by returning<unset>
rather thanfalse
for asset files.The pseudo key isn't unset, rather we /know/ that indeed this asset is not an Asset Directory.