aboutsummaryrefslogtreecommitdiff
path: root/src/bin/jv.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move vcs module to lib and adjust imports魏曹先生2026-02-051-13/+13
|
* Extract CLI utilities into a separate crate魏曹先生2026-01-271-9/+10
|
* Fix typo in legacy_json_output module name魏曹先生2026-01-231-1/+1
|
* Rename output module to leegacy_json_output魏曹先生2026-01-231-1/+1
|
* Rename jv_legacy to jv and add jvn binary魏曹先生2026-01-221-0/+6185
|
* Rename jv binary to jv_legacy魏曹先生2026-01-221-6185/+0
|
* Move track module to track_file for clarity魏曹先生2026-01-221-1/+1
|
* Sync to VersionControl(commit:bac88ab)魏曹先生2026-01-121-5/+5
|
* Sync to VersionControl(commit: e3f4b81)魏曹先生2026-01-121-27/+39
|
* Add editor mode for share command with --work flag魏曹先生2026-01-101-5/+124
|
* Refactor analyzer result structs for clarity魏曹先生2026-01-101-8/+14
|
* Add JSON output support for share list and see commands魏曹先生2026-01-091-2/+37
|
* Apply changes from core library commit cd49e78魏曹先生2026-01-081-1/+1
|
* Remove --force flag from jv init command魏曹先生2026-01-071-6/+2
| | | | | | The --force flag is no longer needed as the command now always checks if the directory is empty. The corresponding help text in locale files has also been removed.
* Add JSON output support for multiple commands魏曹先生2026-01-071-112/+578
| | | | | | | | | | - Add serde and serde_json dependencies - Add JSON output modules for accounts, align, analyzer, here, info, and sheets - Add --json and --pretty flags to sheet list, sheet align, here, status, info, and account list commands - Implement JSON serialization for here command output - Update command argument structs to include JSON output options
* Fix Windows path display in jv info command魏曹先生2026-01-071-2/+4
|
* Move resources to resources directory魏曹先生2026-01-071-1/+1
|
* Remove unused imports from clap in CLI binaries魏曹先生2026-01-071-1/+1
|
* Add share command with subcommands and completion supportMVP魏曹先生2026-01-051-22/+455
| | | | | | | The share command now supports `list`, `see`, and merging operations with conflict resolution modes (--safe, --skip, --overwrite, --reject). Updated help documentation in both English and Chinese locales, and added Bash and PowerShell completion scripts.
* Improve error messages for configuration and file access failures魏曹先生2026-01-041-58/+218
|
* Completed `jv info` command魏曹先生2026-01-041-40/+169
|
* Add Zsh plugin support with prompt integration魏曹先生2026-01-031-8/+17
|
* Add Git branch and commit info to compile info魏曹先生2026-01-031-4/+160
| | | | | | | - Include branch and commit hash in compile info display - Add build script functions to extract git metadata - Update export scripts to force rebuilds when needed - Extend share command with placeholder implementations
* Update sheet list display and share command help text魏曹先生2026-01-031-7/+25
| | | | | | | | | - Change "YOURS" to "VISIBLE TO YOU" and "您的表" to "您可见的表" - Add reference sheet suffix indicator for reference sheets - Update Chinese share command help text to clarify mapping operations - Rename sheet list variables for clarity (my_sheets → visible_sheets, other_sheets → invisible_sheets) - Show status automatically after switching sheets
* Remove restriction on creating reference sheet魏曹先生2026-01-031-10/+9
| | | | | | | The check preventing creation of a sheet named "reference" has been removed, allowing users to create sheets with that name. Additionally, error handling for edit operations in reference sheets has been improved with a clearer error message.
* Add break option to align moved command魏曹先生2026-01-031-5/+33
|
* Add host mode support and reference sheet restrictions魏曹先生2026-01-031-21/+79
| | | | | | | | - Add `jv account as host/<ACCOUNT_NAME>` command for host mode - Display host mode status in `jv here` and `jv status` - Add reference sheet read-only mode hints and restrictions - Show host mode capabilities and warnings in status output - Prevent structural changes in reference sheets for non-hosts
* Add info command to display file details魏曹先生2026-01-031-0/+21
|
* ix update editor to use latest version instead of mapped version魏曹先生2025-12-301-2/+19
| | | | | | | The update editor was incorrectly using the version from the cached sheet mapping, which could be outdated. Now it fetches the latest version from the latest file data to ensure correct version calculations.
* Replace import/export commands with share command魏曹先生2025-12-251-184/+180
|
* Add core version info to CLI version output魏曹先生2025-12-241-3/+16
|
* Add workspace root directory validation for sheet commandsWeicao-CatilGrass2025-12-171-14/+42
| | | | | | | - Add new error message for non-root directory execution - Validate current directory in sheet use/exit commands - Add directory correction helper for other commands - Return Result from jv_sheet_exit to handle validation failures
* Add parent directory creation before moving aligned sheet魏曹先生2025-12-171-0/+15
|
* Add sheet and time context to no changes status message魏曹先生2025-12-171-1/+10
| | | | | | | The "no changes" status message now includes the sheet name and timestamp when displaying that the workspace is synchronized. This provides better context about which sheet and what time the status is based on.
* Fix Windows path conversion issue in `jv move` commandWeicao-CatilGrass2025-12-161-2/+6
| | | | | Use `format_path_str` to properly handle Windows path separators when generating move operation parameters for single file moves.
* Improve alignment command suggestions and error messagesWeicao-CatilGrass2025-12-161-1/+32
|
* Skip missing files in sheet align operationWeicao-CatilGrass2025-12-161-0/+5
| | | | | When aligning sheet files, skip any source files that don't exist instead of failing the entire operation.
* Replace tokio::time::Instant with std::time::SystemTimeWeicao-CatilGrass2025-12-161-10/+15
| | | | | - Use SystemTime::now() for time calculations - Add unwrap_or_default() for duration calculations
* Implement `jv align` command with move, lost, and erased operations魏曹先生2025-12-151-50/+310
|
* Revert lost items display in `jv status` to previous (b8ac698) style魏曹先生2025-12-151-12/+8
|
* Move file status types to workspace_analyzer module魏曹先生2025-12-151-1/+1
|
* Update help documentation and move command functionality魏曹先生2025-12-151-77/+394
| | | | | | | | | | | | | | - 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
* Skip empty descriptions in update editor魏曹先生2025-12-081-1/+4
|
* Add --overwrite flag to track command and show skipped files魏曹先生2025-12-081-0/+24
| | | | | | | The flag allows users to confirm overwriting locally modified files during sync operations. When files are skipped due to local modifications, a warning message now displays the skipped files and provides the command to overwrite them.
* Add description column to `jv here --desc` output魏曹先生2025-12-041-31/+107
|
* Change `jv track`, `hold`, `throw` to accept glob patterns魏曹先生2025-12-031-100/+116
| | | | | | | The commands now accept a file pattern instead of a list of paths. The internal `glob` function is used to expand the pattern relative to the local workspace directory. This allows for more flexible file selection using wildcards.
* Refactor debug glob into reusable function魏曹先生2025-12-021-17/+18
|
* Remove local file existence check from change edit right魏曹先生2025-12-021-19/+0
| | | | | | The check for whether files exist locally before allowing edit right changes has been removed. This allows users to change edit rights for files that may not yet exist locally but are tracked in the sheet.
* Add debug glob command for testing file matching魏曹先生2025-12-021-2/+180
| | | | | | The new `jv _glob` command allows testing glob patterns against both local files and sheet contents. It helps verify how the globber matches files in different contexts.
* Replace HashMap/HashSet with BTreeMap/BTreeSet for deterministic output魏曹先生2025-12-011-5/+8
|