chainabit chainy knowledge 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 project files
Synopsis
chainabit chainy knowledge list <chainyId> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<chainyId> | Required. | — |
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 the files that belong to the project with the given ID, one page at a time. Use --limit to choose the page size (1 to 100, default 20). When more files exist, the command prints the command to run for the next page; pass its value as --cursor. An empty --cursor is refused. An invalid limit is refused before anything is requested.
The command only reads; it never uploads, changes or deletes a file.
Output
A table with the file ID, name and status. With --json the output has a data array, in which every file carries the chainyId of the project, and a meta object whose nextCursor is null on the last page.
Authentication and permissions
You must be signed in. Only files of the project you can access are listed.
Examples
chainabit chainy knowledge list 00000000-0000-4000-8000-000000000001
chainabit chainy knowledge list 00000000-0000-4000-8000-000000000001 --limit 50
chainabit chainy knowledge list 00000000-0000-4000-8000-000000000001 --json