maton slack bookmark add
Add a bookmark to a channel
maton slack bookmark add [flags]
Options
-c,--channel <string>- Channel ID (required)
-
--connection <string> - Connection ID to route through (Maton-Connection header)
-
--dry-run - Print the request that would be sent without executing it
-
--emoji <string> - Emoji shortcode (e.g. books)
-
--entity-id <string> - Entity ID for non-link bookmarks
-q,--jq <expression>- Filter JSON output using a jq expression
-
--json - Output raw JSON
-
--link <string> - URL for type=link (required)
-
--paginate - Follow next_cursor and concatenate all pages (list commands only)
-
--parent-id <string> - Parent bookmark ID
-t,--template <string>- Format JSON output using a Go template; see "maton help formatting"
-
--title <string> - Bookmark title (required)
-
--type <string> (default "link") - Bookmark type
Options inherited from parent commands
-p,--profile <string>- Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)
Examples
$ maton slack bookmark add --channel C012 --title Runbook --link https://example.com/runbook
$ maton slack bookmark add --channel C012 --title Docs --link https://example.com/docs --emoji books