slack-term 1.32.4 → 1.33.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 +10 -0
- package/dist/cli.js +114 -113
- package/package.json +1 -1
- package/ts/auth.ts +1 -1
- package/ts/cli.ts +6 -2
- package/ts/profiles.ts +1 -1
- package/ts/slack.ts +4 -1
package/README.md
CHANGED
|
@@ -387,3 +387,13 @@ 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.
|