From 1e43def95472d9c906cff50534b38be2864690f4 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 15 Dec 2025 10:05:21 +0800 Subject: Update help documentation and move command functionality - Redesign move command to modify upstream mappings with support for erase operations - Add erased items support to align command and status display - Update help text to reflect new move mapping semantics and add erased item instructions - Add auto-update timeout configuration via JV_OUTDATED_MINUTES environment variable - Improve status display with separate structural and content change modes - Add force flag to hold/throw commands to skip pre-checks - Update completion scripts to include erased items in align command --- scripts/jv_cli.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts/jv_cli.sh') diff --git a/scripts/jv_cli.sh b/scripts/jv_cli.sh index e05df3d..d732d95 100644 --- a/scripts/jv_cli.sh +++ b/scripts/jv_cli.sh @@ -14,6 +14,14 @@ SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)" # Next `jv` command will auto-run `jv update` export JV_AUTO_UPDATE=yes +# Use JV_OUTDATED_MINUTES to set the expiration time (in minutes), requires JV_AUTO_UPDATE to be enabled +# Next time the `jv` command is used, if the content is outdated, `jv update` will be automatically executed +# When the set number is < 0, timeout-based update is disabled +# When the set number = 0, update runs every time (not recommended) +# When the set number > 0, update according to the specified time +# If not set, the default is -1 +# export JV_OUTDATED_MINUTES=5 + # Use JV_TEXT_EDITOR to set text editor for `jv track --work` `jv align --work` # DEFAULT: $EDITOR environment variable, falling back to "jvii" if not set # export JV_TEXT_EDITOR=nano -- cgit