Back to Terragrunt

Cli Redesign

docs/src/data/experiments/cli-redesign.mdx

1.0.33.1 KB
Original Source

Support for the new Terragrunt CLI design.

cli-redesign - What it does

Enabled features from the CLI Redesign RFC.

This experiment flag is no longer needed, as the CLI Redesign is now the default.

cli-redesign - How to provide feedback

Now that the CLI Redesign experiment is complete, please provide feedback in the form of standard GitHub issues.

cli-redesign - Criteria for stabilization

To transition cli-redesign features to a stable the following have been completed:

  • Add support for run command.
    • Add support for basic usage of the run command (e.g., terragrunt run plan, terragrunt run -- plan -no-color).
    • Add support for the --all flag.
    • Add support for the --graph flag.
  • Add support for exec command.
  • Rename legacy --terragrunt- prefixed flags so that they no longer need the prefix.
  • Add the hcl command, replacing commands like hclfmt, hclvalidate and validate-inputs.
  • Add OpenTofu commands as explicit shortcuts in the CLI instead of forwarding all unknown commands to OpenTofu/Terraform.
  • Add support for the backend command.
  • Add support for the render command.
  • Add support for the info command.
  • Add support for the dag command.
  • Add support for the find command.
    • Add support for find without flags.
    • Add support for find with colorful output.
    • Add support for find with --format=json flag.
    • Add support for find with stdout redirection detection.
    • Add support for find with --hidden flag.
    • Add support for find with --sort=alpha flag.
    • Add support for find with --sort=dag flag.
    • Add support for find with the exclude block used to exclude units from the search.
    • Add integration with symlinks experiment to support finding units/stacks via symlinks.
    • Add handling of broken configurations or configurations requiring authentication.
    • Add integration test for find with --sort=dag flag on all the fixtures in the test/fixtures directory.
  • Add support for the list command.
    • Add support for list without flags.
    • Add support for list with colorful output.
    • Add support for list with --format=tree flag.
    • Add support for list with --format=long flag.
    • Add support for list with stdout redirection detection.
    • Add support for list with --hidden flag.
    • Add support for list with --sort=alpha flag.
    • Add support for list with --sort=dag flag.
    • Add support for list with --group-by=fs flag.
    • Add support for list with --group-by=dag flag.
    • Add support for list with the exclude block used to exclude units from the search.
    • Add integration with symlinks experiment to support listing units/stacks via symlinks.
    • Add handling of broken configurations or configurations requiring authentication.
    • Add integration test for list with --sort=dag flag on all the fixtures in the test/fixtures directory.