onyo edit
Open the asset file(s) using the editor specified by “onyo.core.editor”,
the environment variable EDITOR, or nano (as a final fallback).
When multiple asset files are given, Onyo will open them in sequence.
After editing an asset, the contents will be checked for valid YAML and
also against any matching rules in .onyo/validation/. If problems are
found, the choice will be offered to reopen the editor to fix them, or abort
and return to the original state.
usage: onyo edit [-h] [-m MESSAGE] [-q] [-y] ASSET [ASSET ...]
Positional Arguments
- ASSET
asset(s) to edit
Named Arguments
- -m, --message
Use the given MESSAGE as the commit message (rather than the default). If multiple -m options are given, their values are concatenated as separate paragraphs
- -q, --quiet
silence messages to stdout (does not suppress interactive editors; requires the –yes flag)
Default: False
- -y, --yes
respond “yes” to any prompts
Default: False