feat(auth): auto-prompt login when no workspaces connected#331
feat(auth): auto-prompt login when no workspaces connected#331
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #331 +/- ##
=======================================
Coverage ? 64.67%
=======================================
Files ? 212
Lines ? 17782
Branches ? 0
=======================================
Hits ? 11501
Misses ? 5206
Partials ? 1075 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Dear kind reviewers, ./bin/slack deploy
./bin/slack activity
./bin/slack trigger list
./bin/slack env list
./bin/slack datastore query🫡 |
mwbrooks
left a comment
There was a problem hiding this comment.
✅ Works beautifully @srtaalej and very elegant implementation! 💅🏻
🧪 Testing locally works well on both slack run and slack manifest validate. Also confirmed commands like slack create and slack auth list do not prompt to login.
✏️ I've left 1 suggestion but that would be nice to add, but non-blocking.
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
Changelog
Summary
When running commands like

slack runwithout any authenticated workspaces, automatically prompt the user to sign in instead of showing an error.Requirements