Skip to content

Suggested searches

    Search all documentation ↑↓ to navigate Enter to open Esc to close

    prb search command reference

    Reference for 1 command under prb search, including usage, flag types and defaults, required flags, source examples, and implementation links

    Markdown

    Search resources with a query string. This page documents 1 command under prb search.

    Flags and examples below come from the command definitions. A Required flag is explicitly marked required by Cobra; an unmarked flag can still be needed by runtime validation or a non-interactive workflow. Empty strings and empty lists are registered defaults, not sample values.

    Every command also inherits the global flags. Run prb <command> --help to check your installed version. Replace placeholder IDs and names in source examples before running them. Return to the complete CLI command reference to browse another command.

    CommandDescriptionUsageSource
    prb searchSearch resources with a query string.prb search <query>View implementation

    Search resources with a query string.

    prb search <query>

    Requires 1 positional argument.

    Search resources with a query string.
    Qualifiers:
    tag:name Resource must carry this tag. Repeat to require every tag (AND).
    type:name Restrict results to this resource type, for example document or risk.
    Repeat to accept several types (OR).
    Quote a name that contains spaces, and escape a quote or backslash inside
    a quoted value with a backslash.
    FlagTypeDefaultRequiredDescription
    --afterstring""—Cursor to continue listing from
    --jsonbooleanfalse—Output JSON (same as —output json)
    --limit, -Linteger30—Maximum number of resources to list
    --orgstring""—Organization ID
    --output, -ostring""—Output format: json, table (default)
    Terminal window
    # Find resources tagged Production
    prb search 'tag:Production'
    # Find documents that have every listed tag
    prb search 'tag:Production tag:Compliance type:document'

    View command implementation.