You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As documented in tektoncd/cli#605, it would be nice if the hub cli followed a similar approach for referring to Tekton resources in docs/user facing messages. To address this for hub, I believe all that would need to happen is to update the usage for commands:
Capitalize pipeline/task under Available commands for hub get -h:
Get resource manifest by its name, kind, catalog, and version
Usage:
tkn hub get [flags]
tkn hub get [command]
Available Commands:
pipeline Get Pipeline by name, catalog and version
task Get Task by name, catalog and version
Flags:
--from string Name of Catalog to which resource belongs to. (default "tekton")
-h, --help help for get
--version string Version of Resource
Global Flags:
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
Use "tkn hub get [command] --help" for more information about a command.
Capitalize pipeline/task under Available commands for hub get task -h and hub get pipeline -h for description/examples:
Task
Get Task by name, catalog and version
Usage:
tkn hub get task [flags]
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
Flags:
-h, --help help for task
Global Flags:
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
--from string Name of Catalog to which resource belongs to. (default "tekton")
--version string Version of Resource
Pipeline
Get Pipeline by name, catalog and version
Usage:
tkn hub get pipeline [flags]
Examples:
Get a Pipeline of name 'foo':
tkn hub get pipeline foo
or
Get a Pipeline of name 'foo' of version '0.3':
tkn hub get pipeline foo --version 0.3
Flags:
-h, --help help for pipeline
Global Flags:
--api-server string Hub API Server URL (default "https://api.hub.tekton.dev")
--from string Name of Catalog to which resource belongs to. (default "tekton")
--version string Version of Resource
/kind cleanup
The text was updated successfully, but these errors were encountered:
…n Resources
This updates cmd examples to have Tekton Resource with first letter capital
in doc to follow similar approach as followed in tkn CLI.
Closes: tektoncd#124
Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
sm43
pushed a commit
to sm43/tektoncd-hub
that referenced
this issue
Oct 23, 2020
This updates cmd examples to have Tekton Resource with first letter capital
in doc to follow similar approach as followed in tkn CLI.
Closes: tektoncd#124
Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
This updates cmd examples to have Tekton Resource with first letter capital
in doc to follow similar approach as followed in tkn CLI.
Closes: tektoncd#124
Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
This updates cmd examples to have Tekton Resource with first letter capital
in doc to follow similar approach as followed in tkn CLI.
Closes: #124
Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
As documented in tektoncd/cli#605, it would be nice if the
hub
cli followed a similar approach for referring to Tekton resources in docs/user facing messages. To address this forhub
, I believe all that would need to happen is to update the usage for commands:Capitalize pipeline/task under Available commands for
hub get -h
:Capitalize pipeline/task under Available commands for
hub get task -h
andhub get pipeline -h
for description/examples:Task
Pipeline
/kind cleanup
The text was updated successfully, but these errors were encountered: