Skip to content

Commit

Permalink
docs(cli): add example argo archive list-label-keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Junseokee committed Oct 5, 2024
1 parent 734b5b6 commit e307b1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
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

0 comments on commit e307b1f

Please sign in to comment.