Skip to content

chore!: remove workspace and team aliases from the app command#463

Merged
zimeg merged 3 commits intomainfrom
zimeg-chore-remove-workspace-alias
Apr 3, 2026
Merged

chore!: remove workspace and team aliases from the app command#463
zimeg merged 3 commits intomainfrom
zimeg-chore-remove-workspace-alias

Conversation

@zimeg
Copy link
Copy Markdown
Member

@zimeg zimeg commented Apr 2, 2026

Changelog

We removed the aliases slack workspace and slack team to now prefer the slack app command when managing or reviewing app installations of a project.

Summary

🪓 This PR removes the workspace and team aliases from the app command to keep this common focused on app installations.

Requirements

@zimeg zimeg added this to the Next Release milestone Apr 2, 2026
@zimeg zimeg self-assigned this Apr 2, 2026
@zimeg zimeg requested a review from a team as a code owner April 2, 2026 19:06
@zimeg zimeg added code health M-T: Test improvements and anything that improves code health semver:major Use on pull requests to describe the release version increment labels Apr 2, 2026
Copy link
Copy Markdown
Member Author

@zimeg zimeg left a comment

Choose a reason for hiding this comment

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

👾 A thought of scope creep in an otherwise focused PR-

Comment thread cmd/app/app.go
func NewCommand(clients *shared.ClientFactory) *cobra.Command {
cmd := &cobra.Command{
Use: "app",
Aliases: []string{"workspace", "app", "apps", "team", "teams", "workspaces"},
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

👾 note: It was unclear if the "team" aliases are right to remove but I think it makes sense to remove these with this change!

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.

Long history but it kinda shows the evolution of this command from being designed for "workspaces" before supporting Enterprises with a generic "teams" before realizing that we need a way to manage the specific app and not just the team that the app is installed to with "apps".

In hindsight, the CLI has no use-case today to do CRUD operations on a Workspace or Enterprise Org. That's the admin world, which we haven't feature requests around.

I'm glad to see these aliases gone though, because they're so old that they've lost their meaning.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@mwbrooks Thank you for sharing this! That's a most interesting start and use case considered 📚

Now when I think about team or workspace the credentials I have saved is what I'd want to find. We have the command for showing an overview I prefer as:

$ slack auth list

Which can also be nice for collecting a service token:

$ slack auth token

Thanks also for confirming these aliases are alright for error at this time 🌚

@zimeg zimeg added the changelog Use on updates to be included in the release notes label Apr 2, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.04%. Comparing base (0499334) to head (a938132).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #463      +/-   ##
==========================================
+ Coverage   71.01%   71.04%   +0.03%     
==========================================
  Files         220      220              
  Lines       18531    18520      -11     
==========================================
- Hits        13159    13157       -2     
+ Misses       4192     4182      -10     
- Partials     1180     1181       +1     

☔ 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 requested review from vegeris April 2, 2026 20:01
Copy link
Copy Markdown
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

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

✅ So wonderful! Thank you!

Comment thread cmd/app/app.go
func NewCommand(clients *shared.ClientFactory) *cobra.Command {
cmd := &cobra.Command{
Use: "app",
Aliases: []string{"workspace", "app", "apps", "team", "teams", "workspaces"},
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.

Long history but it kinda shows the evolution of this command from being designed for "workspaces" before supporting Enterprises with a generic "teams" before realizing that we need a way to manage the specific app and not just the team that the app is installed to with "apps".

In hindsight, the CLI has no use-case today to do CRUD operations on a Workspace or Enterprise Org. That's the admin world, which we haven't feature requests around.

I'm glad to see these aliases gone though, because they're so old that they've lost their meaning.

@zimeg
Copy link
Copy Markdown
Member Author

zimeg commented Apr 3, 2026

@mwbrooks Thanks for the review and details of the command 🙏 ✨

I'm wanting to now merge this after tests complete and have noted this toward the next milestone Next Release upcoming with the correct labels as I found - noting a major label included 🫡

@zimeg zimeg merged commit c7106d2 into main Apr 3, 2026
8 checks passed
@zimeg zimeg deleted the zimeg-chore-remove-workspace-alias branch April 3, 2026 04:35
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 code health M-T: Test improvements and anything that improves code health semver:major 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