Skip to content

add pager to atmos describe affected command - #1255

Merged
Sam Tholiya (samtholiya) merged 129 commits into
mainfrom
feature/dev-3182-add-pager-to-atmos-describe-affected-command
Jun 3, 2025
Merged

Sam Tholiya (samtholiya) merged 129 commits into
mainfrom
feature/dev-3182-add-pager-to-atmos-describe-affected-command

Conversation

@samtholiya

@samtholiya Sam Tholiya (samtholiya) commented May 15, 2025 •

Copy link
Copy Markdown
Contributor

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.

Sam Tholiya (samtholiya) and others added 30 commits April 14, 2025 23:21
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
coderabbitai[bot]
coderabbitai Bot previously approved these changes May 29, 2025
@samtholiya
Sam Tholiya (samtholiya) merged commit c86b34f into main Jun 3, 2025
@samtholiya
Sam Tholiya (samtholiya) deleted the feature/dev-3182-add-pager-to-atmos-describe-affected-command branch June 3, 2025 19:59
@mergify mergify Bot removed the needs-cloudposse Needs Cloud Posse assistance label Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor New features that do not break anything

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants