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

docs(cli): add examples for argo archive list-label-values with option explanations #13682

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/argo/commands/archive/list_label_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ func NewListLabelValueCommand() *cobra.Command {
command := &cobra.Command{
Use: "list-label-values",
Short: "get workflow label values in the archive",
Example: `# Get workflow label values in the archive:
argo archive list-label-values -l key1
`,
Run: func(cmd *cobra.Command, args []string) {
listOpts := &metav1.ListOptions{
LabelSelector: selector,
Expand Down
8 changes: 8 additions & 0 deletions docs/cli/argo_archive_list-label-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ get workflow label values in the archive
argo archive list-label-values [flags]
```

### Examples

```
# Get workflow label values in the archive:
argo archive list-label-values -l key1

```

### Options

```
Expand Down
Loading