From b52ca311e71c9bf4b3437131a9de917897b03736 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 19 Mar 2026 16:04:38 +0800 Subject: Add environment variable documentation for CLI --- resources/helpdoc/environments.en.md | 47 ++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 resources/helpdoc/environments.en.md (limited to 'resources/helpdoc/environments.en.md') diff --git a/resources/helpdoc/environments.en.md b/resources/helpdoc/environments.en.md new file mode 100644 index 0000000..3ad4e26 --- /dev/null +++ b/resources/helpdoc/environments.en.md @@ -0,0 +1,47 @@ +> `JustEnoughVCS` CLI Environments + +## Usage +Environment variables can be set before invoking a command. +The usage depends on your system: + +**Linux/macOS (Bash/Zsh, etc.):** +__ JV\_KEY=value jvn + +**Windows (Command Prompt):** +__ set JV\_KEY=value && jvn + +**Windows (PowerShell):** +__ $env:JV\_KEY="value"; jvn + +## Environment Variables +`jvn` provides several environment variables to +__ control certain behaviors of the command line. + +### Default Text Editor +**Key**: JV\_TEXT\_EDITOR +**Value**: [Program] + +Example: +__ JV\_TEXT\_EDITOR="nano" + +### Help Documentation Viewer +**Key**: JV\_HELPDOC\_VIEWER +**Value**: [Enable: 1] or [Disable: 0] + +Example: +__ # Turn off help documentation viewer output +__ JV\_HELPDOC\_VIEWER=0 jvn -h + +### Language +**Key**: JV\_LANG +**Value**: [Language] + +Example: +__ JV\_LANG=en jvn -v + +### Pager +**Key**: JV\_PAGER +**Value**: [Program] + +Example: +__ JV\_PAGER="less" -- cgit