Skip to content

Merge atmos specific and terraform help documentation - #857

Merged
Andriy Knysh (aknysh) merged 30 commits into
mainfrom
feature/dev-2821-atmos-terraform-help-should-also-show-terraform-help
Jan 7, 2025
Merged

Andriy Knysh (aknysh) merged 30 commits into
mainfrom
feature/dev-2821-atmos-terraform-help-should-also-show-terraform-help

Conversation

@samtholiya

@samtholiya Sam Tholiya (samtholiya) commented Dec 14, 2024 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

I wonder why your terminal is not in color

@osterman

Erik Osterman (Cloud Posse) (osterman) commented Dec 15, 2024 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Sam Tholiya (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
@mergify mergify Bot added the triage Needs triage label Dec 18, 2024
@mergify mergify Bot added the triage Needs triage label Dec 18, 2024
@osterman Erik Osterman (Cloud Posse) (osterman) added minor New features that do not break anything and removed triage Needs triage labels Dec 18, 2024
@mergify

mergify Bot commented Dec 18, 2024

Copy link
Copy Markdown
Contributor

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

@mergify mergify Bot added the conflict This PR has conflicts label Dec 18, 2024
@samtholiya
Sam Tholiya (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
@mergify

mergify Bot commented Jan 7, 2025

Copy link
Copy Markdown
Contributor

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
Andriy Knysh (aknysh) merged commit 851ae56 into main Jan 7, 2025
@aknysh
Andriy Knysh (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

github-actions Bot commented Jan 7, 2025

Copy link
Copy Markdown

These changes were released in v1.137.0.

This branch was successfully deployed

1 active deployment
preview — e1b01468 Deployed Jan 7, 2025 by github-actions[bot]
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