chainabit bit search
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)
Search Bits
Synopsis
chainabit bit search <query> [options]Arguments
| Argument | Description | Default |
|---|---|---|
<query> | Required. | — |
Options
| Option | Description | Default |
|---|---|---|
--limit <n> | Results per page | — |
--cursor <cursor> | Continue from a previous page | — |
--project <id> | Project ID | — |
Options shared by every command are described in Global options and shared behavior.
Behavior
Searches your Bits for the text in <query> and lists the matches. Only Bits are searched. Use --project <id> to search within one project.
--limit <n>sets the page size, from 1 to 25; the default is 20.- When more results exist, the output tells you to repeat the command with
--cursor <cursor>. Pass the cursor exactly as printed; an invalid cursor is refused.
Search is read-only.
The same command is also available as chainabit bits search.
Output
Prints a table with the ID, title and last update time of each match, followed by the next-page hint. With --json, the output has data (the matches, each with id, title and updatedAt) and meta, whose nextCursor is null on the last page.
Authentication and permissions
You must be signed in. The service decides whether you may search a given Bit; a refusal is shown as an error and nothing changes.
Examples
chainabit bit search "Reference task"
chainabit bit search "Reference task" --project 00000000-0000-4000-8000-000000000001 --limit 10
chainabit bit search "Reference task" --cursor YOUR_CURSOR