Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.3 KB

tkn_hub_search.md

File metadata and controls

52 lines (32 loc) · 1.3 KB

tkn hub search

Search resource by a combination of name, kind, categories, platforms, and tags

Usage

tkn hub search

Synopsis

Search resource by a combination of name, kind, categories, platforms, and tags

Examples

Search a resource of name 'foo':

tkn hub search foo

or

Search resources using tag 'cli':

tkn hub search --tags cli

Options

      --categories stringArray   Accepts a comma separated list of categories
  -h, --help                     help for search
      --kinds stringArray        Accepts a comma separated list of kinds
  -l, --limit uint               Max number of resources to fetch
      --match string             Accept type of search. 'exact' or 'contains'. (default "contains")
  -o, --output string            Accepts output format: [table, json, wide] (default "table")
      --platforms stringArray    Accepts a comma separated list of platforms
      --tags stringArray         Accepts a comma separated list of tags

Options inherited from parent commands

      --api-server string   Hub API Server URL (default 'https://api.hub.tekton.dev').
                            URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'HUB_API_SERVER'.

SEE ALSO

  • tkn hub - Interact with tekton hub