Commit c861e92
committed
v0.4.2: major refactor with modular architecture and comprehensive git integration
- Refactored monolithic main.rs.
- Added comprehensive git integration:
- for tracked files only
- for untracked files
- for staged files
- for modified/changed files
- flag to start from git root with any git mode
- Color-coded output (staged=green, changed=yellow, untracked=red)
- Git branch display in output
- Fixed /home/turtle/_projects/03_rust/struct-cli (master)
Cargo.toml
/home/turtle/_projects/03_rust/struct-cli/Cargo.toml
750B
src/
/home/turtle/_projects/03_rust/struct-cli/src
total: 7 files · 41.2K
types: rs(7)
Cargo.lock
/home/turtle/_projects/03_rust/struct-cli/Cargo.lock
21.1K
.gitignore
/home/turtle/_projects/03_rust/struct-cli/.gitignore
58B
README.md
/home/turtle/_projects/03_rust/struct-cli/README.md
12.1K
docs/
/home/turtle/_projects/03_rust/struct-cli/docs
total: 3 files · 35.9K
types: html(1) js(1) css(1)
install.sh
/home/turtle/_projects/03_rust/struct-cli/install.sh
5.9K
uninstall.sh
/home/turtle/_projects/03_rust/struct-cli/uninstall.sh
3.4K
.cargoignore
/home/turtle/_projects/03_rust/struct-cli/.cargoignore
47B
.github/
/home/turtle/_projects/03_rust/struct-cli/.github
total: 2 dirs · 3 files · 1.2K
types: md(2) yml(1)
── ignored (top level) ──
.git(168 files), target(2399 files) · 2567 files · 751.5M vs .
(git:master)
├── .git/ (168 files ignored)
├── .github/
├── docs/
├── src/
├── target/ (2399 files ignored)
├── .cargoignore
├── .gitignore
├── Cargo.lock
├── Cargo.toml
├── install.sh
├── README.md
└── uninstall.sh: 0=detailed summary, 1=simple one-level tree
- Enhanced search to find both files AND directories
- Added flag (pulls from Cargo.toml)
- Improved path handling with canonicalization for git mode
- Created interactive install.sh and uninstall.sh scripts
- Updated README with comprehensive documentation1 parent 44d6d00 commit c861e92
7 files changed
Lines changed: 447 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
149 | 247 | | |
150 | 248 | | |
151 | 249 | | |
| |||
172 | 270 | | |
173 | 271 | | |
174 | 272 | | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
| 273 | + | |
183 | 274 | | |
184 | 275 | | |
185 | 276 | | |
| |||
219 | 310 | | |
220 | 311 | | |
221 | 312 | | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
222 | 325 | | |
223 | 326 | | |
224 | 327 | | |
| |||
278 | 381 | | |
279 | 382 | | |
280 | 383 | | |
281 | | - | |
| 384 | + | |
282 | 385 | | |
283 | 386 | | |
284 | 387 | | |
| |||
333 | 436 | | |
334 | 437 | | |
335 | 438 | | |
| 439 | + | |
| 440 | + | |
336 | 441 | | |
337 | 442 | | |
338 | 443 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
| 231 | + | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
264 | 274 | | |
265 | 275 | | |
266 | 276 | | |
| |||
319 | 329 | | |
320 | 330 | | |
321 | 331 | | |
322 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
323 | 339 | | |
324 | 340 | | |
325 | 341 | | |
326 | 342 | | |
327 | 343 | | |
328 | | - | |
| 344 | + | |
329 | 345 | | |
330 | 346 | | |
331 | 347 | | |
| |||
0 commit comments