aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add remote mapping display for `jv here`魏曹先生2025-12-011-3/+69
|
* add: comments of Completion Helpers魏曹先生2025-12-011-0/+5
|
* Update docs command to use config directory instead of doc directory魏曹先生2025-12-011-2/+2
|
* Add green color to holder and editing status indicators魏曹先生2025-12-011-0/+2
|
* Add completion helpers for workspace info魏曹先生2025-12-011-1/+36
| | | | | | - Rename HistoryIpAddress to GetHistoryIpAddress for consistency - Add commands to get workspace directory, current account, upstream address, and current sheet
* Update jv.rs魏曹先生2025-12-012-18/+13
|
* Add glob pattern matching utility魏曹先生2025-12-014-1/+243
| | | | | | | | | | This implements a Globber struct that can match files and directories using wildcard patterns (* and ?). It supports relative paths, home directory expansion with ~, and cross-platform path separators. The implementation includes pattern matching with backtracking for complex patterns and handles different directory prefixes (current, user home, and root).
* Refactor: Extract validation failure handling to reduce code duplication魏曹先生2025-11-281-155/+150
| | | | | | | - Created helper function to centralize validation failure logic - Moved error message generation outside helper for proper macro expansion - Maintained same functionality while improving code maintainability - Reduced repetitive if-else blocks for detail/skip-failed scenarios
* Ensure correct current directory before jv_update and jv_throw魏曹先生2025-11-261-1/+5
| | | | | Execute correct_current_dir at the beginning of jv_hold and jv_throw to guarantee proper context environment for these operations.
* Add yellow color to permission check failure details魏曹先生2025-11-261-1/+1
|
* Preserve working directory during auto update魏曹先生2025-11-261-0/+22
| | | | | | | | The auto update process was changing the current working directory, which could cause issues when the program continues execution. This change saves the current directory before updating and restores it afterward, ensuring the program continues in the correct location.
* Add hold and throw commands for file edit rights魏曹先生2025-11-263-12/+511
| | | | | | | - Implement `jv hold` and `jv throw` commands with file selection - Add pre-check validation for file existence, mapping, and edit rights - Support --details and --skip-failed flags for error handling - Add localization strings for both English and Chinese
* Update path info timestamp wording魏曹先生2025-11-261-1/+1
|
* Update imports for renamed track_action module (VersionControl: b629bcb)魏曹先生2025-11-251-1/+1
|
* Add silent mode to `jv_update` command魏曹先生2025-11-241-21/+37
| | | | | | When JV_AUTO_UPDATE is enabled, the update will now run silently without outputting any messages. This prevents unnecessary console output during automatic updates while preserving normal output when manually invoked.
* Add auto update feature via JV_AUTO_UPDATE env var魏曹先生2025-11-234-1/+38
| | | | | When enabled, automatically runs `jv update` if vault content has been modified by local operations.
* Fix type annotation in file tracking collection魏曹先生2025-11-231-1/+1
|
* Fix jv sheet align command syntax in Chinese documentation魏曹先生2025-11-231-1/+1
|
* Fix CLI installation path after cargo export rename魏曹先生2025-11-231-2/+2
|
* Reorganize script files into completion-specific directories魏曹先生2025-11-231-12/+12
|
* Fix indentation of file not found warning魏曹先生2025-11-231-1/+1
|
* Add PowerShell support for completions and entry scripts魏曹先生2025-11-232-5/+33
| | | | | | | - Rename cargo alias from `pub` to `export` for clarity - Update publish target directory path - Add PowerShell completion scripts and entry points - Reorganize configuration with section headers - Add export directory to gitignore
* Reorganize PowerShell completion scripts魏曹先生2025-11-232-1/+69
| | | | | | - Move completion_jv.ps1 to completions/powershell directory - Add new completion_jvv.ps1 for jvv command - Update header comment format for consistency
* Move bash completion scripts to dedicated directory魏曹先生2025-11-232-0/+0
|
* Add PowerShell CLI support script for jv tool魏曹先生2025-11-231-0/+37
|
* Rename CLI script and update completion paths魏曹先生2025-11-231-7/+5
| | | | | | - Rename cli.sh to jv_cli.sh for better naming consistency - Update completion script paths to point to new completions/bash directory - Change 'jj' alias to 'jvh' for clearer naming
* Rename PowerShell completion script to match naming convention魏曹先生2025-11-231-2/+2
|
* add: Completion script for WindowsWeicao-CatilGrass2025-11-221-0/+204
|
* fix: Use `current_dir` instead of `current_doc_dir`Weicao-CatilGrass2025-11-221-1/+1
|
* Update help documentation formatting and messages魏曹先生2025-11-222-17/+17
|
* Prevent duplicate sheet creation for shared sheets魏曹先生2025-11-221-1/+1
|
* Remove todo list file after update operation魏曹先生2025-11-221-0/+4
|
* Update sheet align command structure and add completion魏曹先生2025-11-224-14/+280
|
* Move quick sort utility to data_struct module魏曹先生2025-11-223-235/+1
|
* Add account key generation and public key export features魏曹先生2025-11-224-6/+142
| | | | | | | - Add `--keygen` flag to `account add` for automatic ED25519 key generation - Add `account genpub` command to export public keys - Update help documentation in both English and Chinese - Extend shell completion for new commands - Add error handling for OpenSSL operations
* add: utility functions for table and pager魏曹先生2025-11-202-0/+56
| | | | | - Add insert_item method to SimpleTable for flexible row insertion - Add show_in_pager function for system pager support
* update: improve jv here and status output魏曹先生2025-11-201-45/+455
| | | | | | - Enhance jv here with detailed file status and holder information - Improve jv status with better formatting and update timestamps - Reorganize table columns for better readability
* feat: add jump and info commands魏曹先生2025-11-203-37/+208
| | | | | | - Add jump command for file version switching - Add info command for individual file status - Update shell completion for new commands
* Update installation script filename in README files魏曹先生2025-11-172-2/+2
|
* Use account-specific paths for latest info files魏曹先生2025-11-171-31/+57
|
* Remove unused move auto-align command魏曹先生2025-11-171-1/+0
|
* Remove red color from error messages魏曹先生2025-11-171-115/+76
|
* Add error handling for sheet use command魏曹先生2025-11-173-4/+43
|
* Improve export output formatting and alignment魏曹先生2025-11-171-8/+8
|
* Improve invalid modification messages with specific reasons魏曹先生2025-11-172-3/+11
| | | | | Add detailed reasons for invalid modifications including "not_holder" and "base_version_mismatch" to provide clearer feedback to users.
* Make shell completion scripts executable魏曹先生2025-11-172-0/+0
|
* Change error and tip colors from bright to normal variants魏曹先生2025-11-171-135/+143
|
* Add completion script headers :)魏曹先生2025-11-172-0/+2
|
* Add login command combining account setup and vault connection魏曹先生2025-11-174-4/+110
| | | | | | | | | | The new `jv login` command streamlines the process of setting up a workspace by combining account selection, vault connection, and initial sync into a single operation. - Add completion support for login command - Update help documentation in both English and Chinese - Add confirmation prompt for login operation
* Add movekey alias to account manage command魏曹先生2025-11-171-1/+1
|