aboutsummaryrefslogtreecommitdiff
path: root/src/bin
Commit message (Collapse)AuthorAgeFilesLines
* Update jv.rs魏曹先生2025-12-011-15/+10
|
* 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-261-12/+429
| | | | | | | - 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 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-231-1/+7
| | | | | 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: Use `current_dir` instead of `current_doc_dir`Weicao-CatilGrass2025-11-221-1/+1
|
* 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-221-3/+156
|
* Move quick sort utility to data_struct module魏曹先生2025-11-221-1/+1
|
* Add account key generation and public key export features魏曹先生2025-11-221-1/+100
| | | | | | | - 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
* 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
* Use account-specific paths for latest info files魏曹先生2025-11-171-31/+57
|
* Remove red color from error messages魏曹先生2025-11-171-115/+76
|
* Add error handling for sheet use command魏曹先生2025-11-171-4/+25
|
* Change error and tip colors from bright to normal variants魏曹先生2025-11-171-135/+143
|
* Add login command combining account setup and vault connection魏曹先生2025-11-171-0/+72
| | | | | | | | | | 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
|
* Track recent IP addresses in direct operations魏曹先生2025-11-171-6/+12
| | | | | | Add IP address history functionality to store and retrieve recently used IP addresses when performing direct operations. Maintains a history file with up to 8 most recent IPs for quick access.
* Update en.yml魏曹先生2025-11-171-20/+484
|
* Consolidate markdown display utilities魏曹先生2025-11-102-3/+6
|
* Add helpful error tips for common workspace issues魏曹先生2025-11-102-6/+56
|
* fix: Windows support魏曹先生2025-11-091-4/+1
|
* feat: enhance jvv command with raw output support魏曹先生2025-11-061-45/+52
| | | | | | | - Add --raw option to member list for script-friendly output - Use size_str function for consistent file size formatting - Improve member list sorting (host first) - Add better error handling and output formatting
* feat: implement here command with file listing魏曹先生2025-11-061-140/+447
| | | | | | | - Add here command to display current path information - Show file and directory listing with table formatting - Display file statistics (count and total size) - Add colored output for better visual distinction
* Add sheet drop functionality and improve sheet listing魏曹先生2025-11-051-9/+121
| | | | | | | | - Implement `jv sheet drop` command with confirmation and error handling - Add restore confirmation when creating sheets that already exist as orphaned sheets - Enhance `jv sheet list` with --others and --all flags to show different sheet views - Update help text and localization files for new functionality
* Update account switching error handling魏曹先生2025-11-051-1/+4
|
* Add shorthand aliases for common commands魏曹先生2025-11-052-3/+79
| | | | | | - Add `accounts`, `as`, `make`, `drop` commands to jv - Add `members` command to jvv with `-M` alias - Implement corresponding action handlers for new commands
* Add compile-time version and build information魏曹先生2025-11-042-4/+71
| | | | | | | - Add build script to generate compile_info.rs with build metadata - Include version, build date, target platform, and toolchain info - Add version command to both jv and jvv binaries - Update help documentation with version information - Ignore generated compile_info.rs in git
* Remove jvref binary from build configuration魏曹先生2025-11-041-7/+0
|
* feat: Add sheet management commands魏曹先生2025-11-031-30/+343
| | | | | | | | | - Add sheet list, use, exit, make, drop subcommands - Implement lazy commands: exit, use, sheets - Add sheet alias 'sh' for convenience - Add update alias 'u' for convenience - Implement sheet listing with formatted output - Add sheet creation functionality with error handling
* Add update command to sync from upstream vault魏曹先生2025-11-021-1/+57
| | | | | The new `jv update` command allows users to synchronize information from the upstream vault when working with a stained workspace.
* Simplify commands and improve jv error handling魏曹先生2025-10-302-13/+23
| | | | | - Add help command alias for jv - Improve parser error message formatting - Fix code formatting in jvv commands
* Apply clippy suggestion魏曹先生2025-10-291-10/+7
|
* Add confirmation options and alias commands魏曹先生2025-10-292-74/+97
| | | | | | | | - Add -C/--confirm flags to skip confirmation for direct/unstain commands - Add command aliases for account and vault subcommands (+/-/ls) - Improve error handling with better error messages - Implement unstain command functionality - Add port option to vault listen command - Refactor error handling to use centralized function
* Add output for jvv service listen command results魏曹先生2025-10-271-3/+13
|
* Implement jv_direct connection handling魏曹先生2025-10-271-6/+45
|
* Add socket address helper for domain resolution魏曹先生2025-10-271-1/+1
|
* Completed "Account Manage" parts of jv魏曹先生2025-10-242-42/+356
|
* Add cli error handle.魏曹先生2025-10-241-0/+180
|
* Completed jv binary魏曹先生2025-10-212-19/+299
|
* Update jvv.rs魏曹先生2025-10-191-11/+121
| | | | Completed the basic functionality of jvv (server-side command-line frontend)
* refactor: update source code files魏曹先生2025-10-181-1/+3
| | | | | | - Update jv.rs binary - Update lib.rs library exports - Update utils.rs utility functions
* feat: add new binary files and utilities魏曹先生2025-10-181-0/+7
| | | | | - Add jvref.rs binary - Add build_env_logger.rs utility module
* fix: update colored crate API usage in jvv.rs魏曹先生2025-10-181-18/+31
| | | | | | - Replace Style::new() with Style::default() - Use Colorize trait methods directly on strings - Remove unused Color import