chainabit share list
Published (2.2.0)
This command is not included in Published (2.2.0). It is available in Development (2.2.0).
Development (2.2.0)
List your shares, optionally for one resource
Synopsis
chainabit share list <kind> [resourceId] [options]Arguments
| Argument | Description | Default |
|---|---|---|
<kind> | Session, project or chain. Required. Accepted values: session, project, chain. | — |
[resourceId] | — |
Options
| Option | Description | Default |
|---|---|---|
--limit <n> | Results per page | — |
--cursor <cursor> | Continue from a previous page | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Lists your share links of the given kind: session, project or chain. Give a resource ID to list only the links of that resource; without it, all your links of that kind are listed. --limit sets the page size (a whole number from 1 to 100; the default is 20). When more links exist, the command prints the --cursor value that continues from the end of the page; pass it back unchanged to read the next page.
Output
A table with each share's ID and resource ID. With --json, the output contains data, an array of shares with id, kind and resourceId (session shares also carry workspaceId), and meta with nextCursor and hasNextPage. The share link itself is never listed.
Authentication and permissions
You must be signed in.
Examples
chainabit share list project 00000000-0000-4000-8000-000000000001
chainabit share list chain --limit 50