maton slack file list

List files visible to you

maton slack file list [flags]

Options

-c, --channel <string>
Filter by channel ID
--connection <string>
Connection ID to route through (Maton-Connection header)
--count <int> (default 100)
Max results per page
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
-q, --jq <expression>
Filter JSON output using a jq expression
--page <int> (default 0)
Page number (1-based)
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--template <string>
Format JSON output using a Go template; see "maton help formatting"
--types <string>
Comma-separated file types (e.g. images,pdfs,snippets)
--user <string>
Filter by user ID

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 file list
$ maton slack file list --channel C0123456789
$ maton slack file list --user U0123456789 --types images,pdfs
$ maton slack file list --count 50 --page 2 --format text

See also