Skip to content

docs: update suggestions to use "set" and "unset" environment commands - #525

Merged
zimeg merged 1 commit into
mainfrom
fix-env-add-remove-references
May 7, 2026
Merged

zimeg merged 1 commit into
mainfrom
fix-env-add-remove-references

Conversation

@zimeg

@zimeg zimeg commented May 7, 2026 •

Copy link
Copy Markdown
Member

Changelog

The env commands are suggested in a few places and some of these places were updated to use the preferred aliases set and unset.

Summary

This pull request updates leftover references to the old env add and env remove command names that were missed when set and unset became the primary commands in #460.

  • .github/STYLE_GUIDE.md: Example usage updated from env add to env set
  • cmd/env/unset.go: User-facing "no variables to remove" messages changed to "unset"
  • internal/auth/auth.go: Debug message updated from var add SLACK_API_URL to env set SLACK_API_URL

Preview

N/A — text-only changes to output messages and docs.

Testing

  • Run slack env unset in a project with no .env file and confirm the message says "no environment variables to unset"
  • Use a custom API host and check debug output references env set SLACK_API_URL

Notes

Follow-up to #460.

Requirements

@zimeg zimeg added the semver:patch Use on pull requests to describe the release version increment label May 7, 2026
@zimeg zimeg self-assigned this May 7, 2026
@zimeg zimeg added this to the Next Release milestone May 7, 2026
@zimeg zimeg changed the title fix: update stale env add and env remove references to set/unset docs: update stale env add and env remove references to set/unset May 7, 2026
@zimeg zimeg removed the semver:patch Use on pull requests to describe the release version increment label May 7, 2026
@zimeg zimeg changed the title docs: update stale env add and env remove references to set/unset docs: update suggestions to use "set" and "unset" environment commands May 7, 2026
@codecov

codecov Bot commented May 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.27%. Comparing base (1570564) to head (16adf49).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #525      +/-   ##
==========================================
- Coverage   71.27%   71.27%   -0.01%     
==========================================
  Files         222      222              
  Lines       18682    18682              
==========================================
- Hits        13316    13315       -1     
+ Misses       4187     4185       -2     
- Partials     1179     1182       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zimeg zimeg added docs M-T: Documentation work only semver:patch Use on pull requests to describe the release version increment changelog Use on updates to be included in the release notes labels May 7, 2026
@zimeg
zimeg marked this pull request as ready for review May 7, 2026 05:36
@zimeg
zimeg requested a review from a team as a code owner May 7, 2026 05:36

@mwbrooks mwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

✅ Beauty! Thanks for keeping our docs and internal guides fresh ✨ 🧺 🍃

@zimeg

zimeg commented May 7, 2026

Copy link
Copy Markdown
Member Author

@mwbrooks Thanks! 🌈 ✨ Let's continue to polish these experiences toward something better.

@zimeg
zimeg merged commit 1e9c53e into main May 7, 2026
8 checks passed
@zimeg
zimeg deleted the fix-env-add-remove-references branch May 7, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog Use on updates to be included in the release notes docs M-T: Documentation work only semver:patch Use on pull requests to describe the release version increment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants