onyo config
Set, query, and unset Onyo repository configuration options. These options
are stored in .onyo/config (which is tracked by git) and are shared with
all other consumers of an Onyo repository.
To set configuration options locally (and not commit them to the Onyo
repository), use git config instead.
onyo config is a wrapper around git config. All of its options and
capabilities are available with the exception of --system, --global,
--local, --worktree, and --file. Please see the git-config
manpage for more information about usage.
Onyo configuration options:
onyo.core.editor: The editor to use for commands such aseditandnew. If unset, it will fallback to the environmental variableEDITORand lastlynano. (default: unset)onyo.history.interactive: The command used to display history when runningonyo history. (default: “tig –follow”)onyo.history.non-interactive: The command used to print history when runningonyo historywith--non-interactive. (default: “git –no-pager log –follow”)onyo.new.template: The default template to use withonyo new. (default: “standard”)
Example:
$ onyo config onyo.core.editor “vim”
usage: onyo config [-h] ARGS [ARGS ...]
Positional Arguments
- ARGS
arguments to set config options in .onyo/config