slack-term 1.16.0 → 1.18.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 +7 -0
- package/dist/cli.js +67 -66
- package/package.json +1 -1
- package/ts/cli.ts +38 -9
- package/ts/format.ts +90 -1
- package/ts/slack.ts +20 -0
package/README.md
CHANGED
|
@@ -66,6 +66,13 @@ slack send "#general" "Hello team" --code=<code>
|
|
|
66
66
|
slack send "#general:1700000000.000100" "Replying in thread"
|
|
67
67
|
slack send "https://acme.slack.com/archives/C0123456789/p1700000000000100" "Replying in thread"
|
|
68
68
|
|
|
69
|
+
# @handle tokens are auto-converted to real <@USERID> mentions (on by default; also on `edit`).
|
|
70
|
+
# Resolves via users.list, then the channel's members so Slack Connect guests work;
|
|
71
|
+
# any handle that can't be resolved is left as plain text. The confirm preview shows
|
|
72
|
+
# the converted message before sending. Use --no-mentions to keep @text literal.
|
|
73
|
+
slack send "#general" "thanks @t.matsuda19790127 and @taku"
|
|
74
|
+
slack send "#general" "ping @ops on call" --no-mentions # leave @ops as plain text
|
|
75
|
+
|
|
69
76
|
# Edit or delete a sent message (same confirm-code gate)
|
|
70
77
|
slack edit "<permalink>" "fixed wording"
|
|
71
78
|
slack delete "<permalink>"
|