Skip to content

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

Open
zimeg wants to merge 1 commit intomainfrom
fix-env-add-remove-references
Open

docs: update suggestions to use "set" and "unset" environment commands#525
zimeg wants to merge 1 commit intomainfrom
fix-env-add-remove-references

Conversation

@zimeg
Copy link
Copy Markdown
Member

@zimeg zimeg commented May 7, 2026

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

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@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
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

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
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.

1 participant