Andrew Phillips (aider)
ae67e67921
fix: resolve unresolved types and type mismatches in list and common modules
2025-05-10 13:54:53 -03:00
Andrew Phillips (aider)
0b82921506
chore(list): Add log and anyhow crates
2025-05-10 13:53:08 -03:00
Andrew Phillips (aider)
c2ace42c02
fix: Fix missing imports and type resolution issues
2025-05-10 13:51:11 -03:00
Andrew Phillips (aider)
0a8464bab3
fix: add error handling for unknown column types
2025-05-10 13:45:51 -03:00
Andrew Phillips (aider)
33fa31bbb6
feat: add ColumnType as_str method and improve error handling
2025-05-10 13:41:48 -03:00
Andrew Phillips
ceb50a03b3
style: organize and format use statements
2025-05-10 13:38:10 -03:00
Andrew Phillips (aider)
dbf3d70128
feat: Move ColumnType to common and update imports
2025-05-10 13:34:38 -03:00
Andrew Phillips
f0b93e37fe
chore: move prettytable color import to correct position
2025-05-10 13:18:31 -03:00
Andrew Phillips (aider)
d9c38ffe77
feat: add prettytable color support to list mode
2025-05-10 13:14:40 -03:00
Andrew Phillips (aider)
d65289e9fa
refactor: replace import block with crate::Alignment
2025-05-10 13:13:40 -03:00
Andrew Phillips (aider)
994dfe1c42
fix: resolve missing imports and ErrorKind typo
2025-05-10 13:11:43 -03:00
Andrew Phillips
6bbc306c23
style: reorder imports and adjust formatting
2025-05-10 13:09:49 -03:00
Andrew Phillips (aider)
97d89196ab
refactor: Remove duplicated functions from list.rs
2025-05-10 13:07:03 -03:00
Andrew Phillips (aider)
b9004c871a
fix: add missing imports and resolve build errors in list mode
2025-05-10 13:04:08 -03:00
Andrew Phillips (aider)
2b98a5437a
fix: resolve mode_list duplication and missing imports in list.rs
2025-05-10 13:02:34 -03:00
Andrew Phillips
da55c42342
style: reorder common module imports for consistency
2025-05-10 13:02:17 -03:00
Andrew Phillips (aider)
1628e0889e
refactor: move mode_list to src/modes/list.rs and update imports
2025-05-10 12:55:30 -03:00
Andrew Phillips (aider)
1ce5909f7b
fix: Add missing TableFormat and function imports to resolve compilation errors
2025-05-10 12:51:53 -03:00
Andrew Phillips (aider)
bc85cdac6c
fix: remove unused imports and non-const format builder
2025-05-10 12:45:14 -03:00
Andrew Phillips (aider)
f8b14cb570
fix: replace const with function for table format and update is_terminal import
2025-05-10 12:42:04 -03:00
Andrew Phillips (aider)
a2104ff705
fix: remove extra closing brace in common.rs
2025-05-10 12:39:59 -03:00
Andrew Phillips (aider)
d1bdc3f187
fix: remove misplaced string_column call in common.rs
2025-05-10 12:38:57 -03:00
Andrew Phillips (aider)
33757dabee
fix: move format constant to common and update stdout check
2025-05-10 12:37:08 -03:00
Andrew Phillips
d9f8b02cb6
style: Reorder imports and adjust match arm formatting
2025-05-10 12:27:52 -03:00
Andrew Phillips (aider)
796ded6a6b
fix: correct imports and add clap::error::ErrorKind
2025-05-10 12:25:26 -03:00
Andrew Phillips
6d07cf6f18
chore: reorder imports in info.rs
2025-05-10 12:25:08 -03:00
Andrew Phillips (aider)
7292972a6d
fix: move mode_info function to correct module
2025-05-10 12:21:56 -03:00
Andrew Phillips (aider)
c1f3920888
fix: correct search/replace block for mode_info function
...
The search block was missing preceding lines from the previous function, causing a mismatch. The fix includes the full context from the end of the prior function up to the mode_info function definition to ensure exact matching.
2025-05-10 12:20:51 -03:00
Andrew Phillips (aider)
1818024bc9
refactor: Move mode_info to src/modes/info.rs
2025-05-10 12:19:00 -03:00
Andrew Phillips (aider)
86a3a7da61
fix: add missing std::io import and remove unused import
2025-05-10 12:13:20 -03:00
Andrew Phillips (aider)
9fedd37494
fix: fix duplicate imports, type mismatch, and missing Read trait
2025-05-10 11:54:59 -03:00
Andrew Phillips (aider)
887e9cda42
The SEARCH block must exactly match the existing lines, including context. Here's the corrected block for src/modes/get.rs:
...
```rust
<<<<<<< SEARCH
use std::str::FromStr;
use clap::Command;
=======
use std::str::FromStr;
use std::io::BufWriter;
use clap::Command;
>>>>>>> REPLACE
```
This ensures the `BufWriter` import is added between `FromStr` and `Command` without duplicating any existing lines.
2025-05-10 11:51:47 -03:00
Andrew Phillips (aider)
b91144bbf2
fix: resolve missing and conflicting imports
2025-05-10 11:50:16 -03:00
Andrew Phillips (aider)
86d2c2f9f5
fix: add missing imports and remove unused ones
2025-05-10 11:47:47 -03:00
Andrew Phillips (aider)
f913abda58
refactor: remove unused imports and add chrono::Utc
2025-05-10 11:42:59 -03:00
Andrew Phillips (aider)
520bb00927
fix: resolve imports and remove unused ones
2025-05-10 11:40:43 -03:00
Andrew Phillips (aider)
bd661ff850
refactor: update mode_save to use &mut Connection like mode_get
2025-05-10 11:29:24 -03:00
Andrew Phillips (aider)
d818358860
refactor: move mode_save to dedicated save module
2025-05-10 10:10:27 -03:00
Andrew Phillips
9feec61759
style: reorder imports and reformat code for consistency
2025-05-10 10:06:33 -03:00
Andrew Phillips (aider)
c936326ac3
fix: Remove unused strum::IntoEnumIterator import
2025-05-10 10:04:39 -03:00
Andrew Phillips
e298438f53
chore: remove unused CompressionEngineProgram import
2025-05-10 10:04:22 -03:00
Andrew Phillips
3a80780ee9
refactor: remove mode_status function
2025-05-10 10:02:48 -03:00
Andrew Phillips (aider)
63a2ff9707
fix: add FromStr import for CompressionType
2025-05-10 10:00:51 -03:00
Andrew Phillips (aider)
dea46b0679
fix: import FromStr from std::str in status module
2025-05-10 09:58:00 -03:00
Andrew Phillips (aider)
94fff32244
fix: resolve from_str usage and filter method errors, remove unused imports
2025-05-10 09:44:25 -03:00
Andrew Phillips (aider)
48b4bb6e3a
fix: filter unsupported compression programs in enum map
2025-05-10 09:32:28 -03:00
Andrew Phillips (aider)
d4501e1183
fix: remove unused imports and add missing traits for is_terminal/from_str
2025-05-10 09:27:39 -03:00
Andrew Phillips (aider)
d832dcf8f7
fix: resolve compilation errors in status.rs
...
Add missing imports for IsTerminal and FromStr, fix Args type reference, and remove unused imports causing warnings.
2025-05-10 09:22:53 -03:00
Andrew Phillips (aider)
9d4c59d0b5
refactor: move mode_status to src/modes/status.rs
2025-05-10 09:19:54 -03:00
Andrew Phillips (aider)
cd0387c788
fix: add missing FromStr import to fix enum parsing
2025-05-10 09:16:36 -03:00