Skip to content

feat: exec, run, info strict commands implementation, flags renaming. #3723

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 180 commits into from
Feb 10, 2025

Conversation

lev-ok
Copy link
Contributor

@lev-ok lev-ok commented Jan 2, 2025

Description

  1. exec, run commands implementation.
  2. Sorting and renaming CLI flags.
  3. Automatic generation of environment variables.
  4. Code refactoring.

Relates to #3445 .

Fixes #3757.

TODOs

Read the Gruntwork contribution guidelines.

  • Update the docs.
  • Run the relevant tests successfully, including pre-commit checks.
  • Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
  • Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].

Migration Guide

Summary by CodeRabbit

  • New Features

    • Introduced streamlined CLI commands (“run” and “exec”) to simplify command execution.
    • Simplified many command‐line flag names by removing legacy “terragrunt-” prefixes.
    • Added new experimental features and enhanced strict control mechanisms for better management of deprecated commands and flags.
  • Bug Fixes

    • Enhanced logging with improved format handling and more reliable error reporting.
    • Refined strict mode checks to provide clearer warnings and errors regarding deprecated features.
    • Improved error handling in command execution and context management.
  • Documentation

    • Updated documentation to reflect new flag names and configuration file conventions (e.g., using “root.hcl”).
    • Added migration guides to assist users in transitioning to the new CLI structure and flag naming conventions.
  • Tests

    • Improved integration and unit tests for increased reliability and consistency.
    • Enhanced tests for strict controls and command execution to ensure accurate behavior and error reporting.

@lev-ok lev-ok merged commit ca9252d into main Feb 10, 2025
8 of 9 checks passed
@lev-ok lev-ok deleted the feat/run-command branch February 10, 2025 17:31
@coderabbitai coderabbitai bot mentioned this pull request May 29, 2025
4 tasks
@coderabbitai coderabbitai bot mentioned this pull request Jul 3, 2025
6 tasks
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.

terragrunt providers lock … passes arguments in reverse (wrong) order
4 participants