Skip to content

CLOUDP-329797: Make atlas config init alias of atlas auth login #4044

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

Open
wants to merge 2 commits into
base: SA_refactor_feature_branch
Choose a base branch
from

Conversation

cveticm
Copy link
Collaborator

@cveticm cveticm commented Jul 16, 2025

Proposed changes

As these commands are under different parent commands, this is achieved by calling the Login Builder in the Init Builder and setting different Use and Example values.

This results in atlas config init running exactly the same as atlas auth login while still referring to the command correctly as atlas config init in help text.

Jira ticket: CLOUDP-329797

Checklist

  • I have signed the MongoDB CLA
  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation in document requirements section listed in CONTRIBUTING.md (if appropriate)
  • I have addressed the @mongodb/docs-cloud-team comments (if appropriate)
  • I have updated test/README.md (if an e2e test has been added)
  • I have run make fmt and formatted my code

@cveticm cveticm requested review from a team as code owners July 16, 2025 15:42
@github-actions github-actions bot added the need-doc-review Improvements or additions to documentation, will be reviewed by the docs team label Jul 16, 2025
Copy link
Contributor

APIx Bot :bowtie:: a message has been sent to Docs Slack channel 🚀.

Copy link

@ytineo-mongodb ytineo-mongodb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

Coverage Report 📈

Branch Commit Coverage
SA_refactor_feature_branch 5fbb105 25.8%
CLOUDP-329797_atlas_config_init_alias 25a05ba 25.8%
Difference 0%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-doc-review Improvements or additions to documentation, will be reviewed by the docs team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants