Skip to content

Latest commit

 

History

History
49 lines (29 loc) · 1.12 KB

tkn_hub_get_task.md

File metadata and controls

49 lines (29 loc) · 1.12 KB

tkn hub get task

Get Task by name, catalog and version

Usage

tkn hub get task

Synopsis

Get Task by name, catalog and version

Examples

Get a Task of name 'foo':

tkn hub get task foo

or

Get a Task of name 'foo' of version '0.3':

tkn hub get task foo --version 0.3

Options

      --as-clustertask   Get the Task as ClusterTask
  -h, --help             help for task

Options inherited from parent commands

      --api-server string   Hub API Server URL (default 'https://api.hub.tekton.dev' for 'tekton' type; default 'https://artifacthub.io' for 'artifact' type).
                            URL can also be defined in a file '$HOME/.tekton/hub-config' with a variable 'TEKTON_HUB_API_SERVER'/'ARTIFACT_HUB_API_SERVER'.
      --from string         Name of Catalog to which resource belongs to.
      --type string         The type of Hub from where to pull the resource. Either 'artifact' or 'tekton' (default "tekton")
      --version string      Version of Resource

SEE ALSO

  • tkn hub get - Get resource manifest by its name, kind, catalog, and version