Commit f6f6ea9
authored
refactor: extract profile commands from main.rs to dedicated module (#403)
- Create commands/profile.rs with all profile command handlers
- Move 660 lines of profile logic out of main.rs
- Reduce main.rs from 1,589 lines to 929 lines (41.5% reduction)
- Split into focused handlers: list, path, show, set, remove, validate, default-enterprise, default-cloud
- Update commands/mod.rs to include profile module
- Remove unused Context import from main.rs
- All 45 tests passing
- No clippy warnings
Main.rs now focuses on CLI parsing, initialization, and command routing.
Closes #4021 parent df7c002 commit f6f6ea9
3 files changed
+719
-662
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
0 commit comments