slack-term 1.32.5 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -387,3 +387,19 @@ A write-up of the design decisions behind the confirm gate lives on the agent-ye
387
387
  ## License
388
388
 
389
389
  MIT
390
+
391
+ ### Print the active token (TypeScript CLI)
392
+
393
+ `slack auth token` prints the resolved token followed by a newline, like
394
+ `gh auth token`. Select a saved workspace with `slack auth token --workspace acme`.
395
+ It uses the same environment/profile precedence as other commands and makes no
396
+ API request. Diagnostics go to stderr so stdout can be used in scripts.
397
+
398
+ Use `slack auth login` for interactive setup. Existing imports with
399
+ `slack auth token --token <token> --name acme` continue to work.
400
+
401
+ `slack auth env` prints the active workspace credentials as quoted dotenv
402
+ assignments (`SLACK_TOKEN`, plus `SLACK_COOKIE` for desktop tokens when available).
403
+ Use `slack auth env --workspace acme` to select a specific saved workspace.
404
+ It follows the same credential precedence, makes no API request, and prints only
405
+ assignments to stdout. Each export contains one workspace, avoiding duplicate keys.