Open aqw opened 1 month ago
but if one can query template keys, one naturally expects that one can set them...
Seems valid to me. I think this would suggest to add a --type=template|asset
to set
, unset
and potentially even new
.
I'd give that low priority ATM, though.
I'm in favor of this; I missed this recently when adding devices but wasn't sure what the templates were called. It's of course solved with ls .onyo/templates
but that's only because I already know where the folder is located.
Yeah, tab completion is meant to alleviate this somewhat when creating assets with onyo new
. But I agree that it's an incomplete solution.
This is a tracking, meta issue to allow
onyo get
to select the type of data source to query (other than just assets).The objective is to add support for directories and templates. This result would obviate the need for an
onyo list
(#53),onyo template
(#552), and address #672.asset
; the present behavior)Open Questions:
onyo set
andonyo unset
template
keys, one naturally expects that one canset
them...