You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2026. It is now read-only.
The normal use-case of onyo new -t is to give it the name of a template in the dir .onyo/templates/.
On the other hand, onyo new -t does error if used on a "normal" asset in the inventory, e.g.:
❱ onyo new -t groups/<path to asset> -d groups/<user> --edit
ERROR: Template groups/<path to asset> does not exist.
However, it is possible to use onyo new -t <yaml outside of onyo>: onyo new -t ~/<path to asset> -d groups/<user> --edit
This leads to the awkward situation, that I can use onyo new -t on any type of asset, but only if I before copy it to a location outside of the inventory. I think this is weird, and onyo new -t should allow to get a normal asset and use this as the template (like onyo new --clone already allows, too).
The normal use-case of
onyo new -tis to give it the name of a template in the dir.onyo/templates/.On the other hand,
onyo new -tdoes error if used on a "normal" asset in the inventory, e.g.:However, it is possible to use
onyo new -t <yaml outside of onyo>:onyo new -t ~/<path to asset> -d groups/<user> --editThis leads to the awkward situation, that I can use
onyo new -ton any type of asset, but only if I before copy it to a location outside of the inventory. I think this is weird, andonyo new -tshould allow to get a normal asset and use this as the template (likeonyo new --clonealready allows, too).