v1.179.0-rc.0
Pre-release
Pre-release
·
14 commits
to refs/heads/main
since this release
add pager to atmos describe affected command @samtholiya (#1255)
## what- Updated describe affected with pager
why
- Makes easier for users to view the content
references
Summary by CodeRabbit
-
Refactor
- Improved modularity and maintainability of the "describe affected" command, including more robust CLI argument parsing and error handling for conflicting flags.
- Separated argument parsing from execution logic, enhancing testability and code clarity.
- Refactored syntax highlighting utilities for clearer lexer and formatter selection with terminal presence caching.
-
Bug Fixes
- Corrected a YAML configuration to reference the intended Terraform output variable.
- Updated test snapshots and test cases for accurate YAML formatting and pager settings.
-
Tests
- Added and updated unit tests for CLI argument parsing, command execution, and syntax highlighting, including new mock implementations for better test coverage.
-
Style
- Improved code readability and structure in syntax highlighting utilities.