Skip to content

refactor(cli): replace String output with typed OutputMode enum#2

Merged
HanSoBored merged 3 commits intomainfrom
refactor/cli-output-mode
Apr 23, 2026
Merged

refactor(cli): replace String output with typed OutputMode enum#2
HanSoBored merged 3 commits intomainfrom
refactor/cli-output-mode

Conversation

@HanSoBored
Copy link
Copy Markdown
Owner

Summary

  • Add OutputMode enum (Text, Json, Tui) with ValueEnum derive
  • Replace String output field with OutputMode type
  • Remove is_json_output() helper method
  • Update CLI tests for new enum type

- Remove SymbolStatus enum from symbol.rs
- Remove status field from Symbol struct
- Remove by_status tracking from Statistics
- Remove related dead code and tests
- Remove status breakdown from TextFormatter
- Remove by_status filter from SymbolFilter
- Remove StatusCount from JSON output
- Update tests to reflect status removal
- Add OutputMode enum (Text, Json, Tui) with ValueEnum derive
- Replace String output field with OutputMode type
- Remove is_json_output() helper method
- Update CLI tests for new enum type
@HanSoBored HanSoBored merged commit 4e780f8 into main Apr 23, 2026
0 of 3 checks passed
@HanSoBored HanSoBored deleted the refactor/cli-output-mode branch April 23, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant