Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

available subcommands list is missing from help section #225

Closed
hrishin opened this issue Aug 20, 2019 · 0 comments · Fixed by #226
Closed

available subcommands list is missing from help section #225

hrishin opened this issue Aug 20, 2019 · 0 comments · Fixed by #226
Labels
kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@hrishin
Copy link
Member

hrishin commented Aug 20, 2019

Right now available subb commands list section for tkn <main-command> -h
is absent.

Expected Behavior

tkn pipeline -h

Should display the list of available sub commands.

Actual Behavior

$ tkn pipeline -h

Manage pipelines

Usage:
  tkn pipeline [command]

Aliases:
  pipeline, p, pipelines

Available Commands:

Other Commands:

Flags:
  -h, --help                help for pipeline
  -k, --kubeconfig string   kubectl config file (default: $HOME/.kube/config)
  -n, --namespace string    namespace to use (default: from $KUBECONFIG)

is not showing the sub commands list.

Steps to Reproduce the Problem

  1. Build the master branch go build ./cmd/tkn
  2. Fire ./tkn pipeline -h command
@hrishin hrishin added the kind/bug Categorizes issue or PR as related to a bug. label Aug 20, 2019
hrishin added a commit to hrishin/cli that referenced this issue Aug 20, 2019
Right now available sub-commands section for `tkn <main-command> -h`
is absent.

This patch fixes the `tkn help` command by adding the right annotations
so that help template can process it correctly.

Fixes tektoncd#225
@hrishin hrishin added this to the 0.3.0 🐱 milestone Aug 21, 2019
tekton-robot pushed a commit that referenced this issue Aug 22, 2019
Right now available sub-commands section for `tkn <main-command> -h`
is absent.

This patch fixes the `tkn help` command by adding the right annotations
so that help template can process it correctly.

Fixes #225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant