diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-19 16:04:38 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-19 16:04:38 +0800 |
| commit | b52ca311e71c9bf4b3437131a9de917897b03736 (patch) | |
| tree | c6beef1aa590ac98b41da5bd2f3caf177647377f /resources/helpdoc/environments.en.md | |
| parent | 021d92a48000e8e04548ef45bad64c753ad0d1b4 (diff) | |
Add environment variable documentation for CLI
Diffstat (limited to 'resources/helpdoc/environments.en.md')
| -rw-r--r-- | resources/helpdoc/environments.en.md | 47 |
1 files changed, 47 insertions, 0 deletions
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 <subcommand> + +**Windows (Command Prompt):** +__ set JV\_KEY=value && jvn <subcommand> + +**Windows (PowerShell):** +__ $env:JV\_KEY="value"; jvn <subcommand> + +## 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" |
