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 example argo archive list-label-keys #13706

Open
wants to merge 1 commit 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
2 changes: 2 additions & 0 deletions cmd/argo/commands/archive/list_label_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ func NewListLabelKeyCommand() *cobra.Command {
command := &cobra.Command{
Use: "list-label-keys",
Short: "list workflows label keys in the archive",
Example: `# List workflows label keys in the archive:
argo archive list-label-keys`,
RunE: func(cmd *cobra.Command, args []string) error {
ctx, apiClient, err := client.NewAPIClient(cmd.Context())
if err != nil {
Expand Down
7 changes: 7 additions & 0 deletions docs/cli/argo_archive_list-label-keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ list workflows label keys in the archive
argo archive list-label-keys [flags]
```

### Examples

```
# List workflows label keys in the archive:
argo archive list-label-keys
```

### Options

```
Expand Down
Loading