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

fix(docs/cmd) Change go-apiops in remove-tags examples to deck file #1015

Merged
merged 1 commit into from
Sep 6, 2023
Merged
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
4 changes: 2 additions & 2 deletions cmd/file_removetags.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ The listed tags are removed from all objects that match the selector expressions
If no selectors are given, all Kong entities are selected.`,
RunE: executeRemoveTags,
Example: "# clear tags 'tag1' and 'tag2' from all services in file 'kong.yml'\n" +
"cat kong.yml | go-apiops remove-tags --selector='services[*]' tag1 tag2\n" +
"cat kong.yml | deck file remove-tags --selector='services[*]' tag1 tag2\n" +
"\n" +
"# clear all tags except 'tag1' and 'tag2' from the file 'kong.yml'\n" +
"cat kong.yml | go-apiops remove-tags --keep-only tag1 tag2",
"cat kong.yml | deck file remove-tags --keep-only tag1 tag2",
}

removeTagsCmd.Flags().BoolVar(&cmdRemoveTagsKeepEmptyArrays, "keep-empty-array", false,
Expand Down
Loading