Skip to content

v1.179.0-rc.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 04 Jun 01:05
· 14 commits to refs/heads/main since this release
c86b34f
add pager to atmos describe affected command @samtholiya (#1255) ## what
  • Updated describe affected with pager

image

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.