onyo edit

Open the asset file(s) using the default text editor specified by the environment variable EDITOR (nano and then vi are used as fallbacks).

When multiple asset files are given, Onyo will open them in sequence.

After editing an asset, onyo will check the validity of the YAML syntax and check if the changed file still follows the rules specified in .onyo/validation/validation.yaml, and if problems are found it gives the choice to either correct them or discard the changes to make sure that the repository stays in a valid state.

usage: onyo edit [-h] ASSET [ASSET ...]

Positional Arguments

ASSET

asset(s) to edit