Skip to content

Merge atmos specific and terraform help documentation#857

Merged
aknysh merged 30 commits intomainfrom
feature/dev-2821-atmos-terraform-help-should-also-show-terraform-help
Jan 7, 2025
Merged

Merge atmos specific and terraform help documentation#857
aknysh merged 30 commits intomainfrom
feature/dev-2821-atmos-terraform-help-should-also-show-terraform-help

Conversation

@samtholiya
Copy link
Collaborator

@samtholiya samtholiya commented Dec 14, 2024

what

Current:
image

After this change :
image


image

  • Merge help for terraform and atmos
  • Updated tab mechanism
  • Fade out not supported commands

why

  • We want to help customers show both native terraform commands and atmos terraform commands

references

Summary by CodeRabbit

  • New Features

    • Enhanced help command output with a styled logo for the "atmos" command.
    • Improved error handling and user feedback for the terraform command.
    • Introduced a comprehensive set of Terraform commands with detailed descriptions and examples.
    • Dynamic generation of help documentation based on command properties.
    • Enhanced command formatting capabilities to indicate unsupported commands.
    • Updated version of the Atmos CLI in the GitHub Actions workflow.
  • Bug Fixes

    • Simplified help output for "terraform" commands to reduce clutter.
    • Removed automatic update checks from help command execution.
  • Documentation

    • Updated command descriptions for clarity and detail.
    • Updated the version of the Atmos CLI in the Dockerfile.
  • Refactor

    • Improved command formatting and usage templates for better representation of command availability.
    • Streamlined control flow during help command execution.
    • Updated dependency versions in the project.

@osterman
Copy link
Member

I wonder why your terminal is not in color

@osterman
Copy link
Member

osterman commented Dec 15, 2024

Oh, I see now I didn't realize we were not using cobra's built-in mechanism.

Can you check why we are not using that because that means we have a very different implementation for this one off command!

I like what you're doing more than what we had. However, it looks nothing like atmos --help

@osterman
Copy link
Member

Is the current wrapping okay? (i don't think so but because the ticket mentions we want a simple solution)

We have solved the wrapping issues in Cobra, so if we can get the menu back in there, that would be ideal.

@mergify mergify bot added the triage Needs triage label Dec 17, 2024
@samtholiya samtholiya force-pushed the feature/dev-2821-atmos-terraform-help-should-also-show-terraform-help branch from 0fe021a to 4379eda Compare December 17, 2024 20:38
@osterman osterman removed the triage Needs triage label Dec 18, 2024
@mergify mergify bot added the triage Needs triage label Dec 18, 2024
@osterman osterman removed the triage Needs triage label Dec 18, 2024
@mergify mergify bot added the triage Needs triage label Dec 18, 2024
@osterman osterman added minor New features that do not break anything and removed triage Needs triage labels Dec 18, 2024
@mergify
Copy link

mergify bot commented Dec 18, 2024

💥 This pull request now has conflicts. Could you fix it @samtholiya? 🙏

@mergify mergify bot added the conflict This PR has conflicts label Dec 18, 2024
@samtholiya samtholiya force-pushed the feature/dev-2821-atmos-terraform-help-should-also-show-terraform-help branch 2 times, most recently from b4b103a to 26d25fd Compare December 19, 2024 09:12
@aknysh aknysh dismissed stale reviews from coderabbitai[bot] and themself via e1b0146 January 7, 2025 15:58
@mergify
Copy link

mergify bot commented Jan 7, 2025

Important

Cloud Posse Engineering Team Review Required

This pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes.

To expedite this process, reach out to us on Slack in the #pr-reviews channel.

@aknysh aknysh merged commit 851ae56 into main Jan 7, 2025
@aknysh aknysh deleted the feature/dev-2821-atmos-terraform-help-should-also-show-terraform-help branch January 7, 2025 16:14
@mergify mergify bot removed the needs-cloudposse Needs Cloud Posse assistance label Jan 7, 2025
@github-actions
Copy link

github-actions bot commented Jan 7, 2025

These changes were released in v1.137.0.

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

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants