Skip to content

Commit

Permalink
review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Jul 14, 2023
1 parent c645154 commit c4acd9a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions cmd/addplugins.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ func executeAddPlugins(cmd *cobra.Command, cfgFiles []string) error {
func newAddPluginsCmd() *cobra.Command {
addPluginsCmd := &cobra.Command{
Use: "add-plugins [flags] [...plugin-files]",
Short: "Adds plugins to objects in a decK file",
Long: `Adds plugins to objects in a decK file.
Short: "Add plugins to objects in a decK file",
Long: `Add plugins to objects in a decK file.
The plugins are added to all objects that match the selector expressions. If no
selectors are given, they will be added to the top-level 'plugins' array.
Expand Down
4 changes: 2 additions & 2 deletions cmd/addtags.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ func executeAddTags(cmd *cobra.Command, tagsToAdd []string) error {
func newAddTagsCmd() *cobra.Command {
addTagsCmd := &cobra.Command{
Use: "add-tags [flags] tag [...tag]",
Short: "Adds tags to objects in a decK file",
Long: `Adds tags to objects in a decK file.
Short: "Add tags to objects in a decK file",
Long: `Add tags to objects in a decK file.
The tags are added to all objects that match the selector expressions. If no
selectors are given, all Kong entities are tagged.`,
Expand Down
4 changes: 2 additions & 2 deletions cmd/listtags.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ func executeListTags(cmd *cobra.Command, _ []string) error {
func newListTagsCmd() *cobra.Command {
ListTagsCmd := &cobra.Command{
Use: "list-tags [flags]",
Short: "Lists current tags to objects in a decK file",
Long: `Lists current tags to objects in a decK file.
Short: "List current tags from objects in a decK file",
Long: `List current tags from objects in a decK file.
The tags will be collected from all objects that match the selector expressions. If no
selectors are given, all Kong entities will be scanned.`,
Expand Down
4 changes: 2 additions & 2 deletions cmd/merge.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func executeMerge(cmd *cobra.Command, args []string) error {
func newMergeCmd() *cobra.Command {
mergeCmd := &cobra.Command{
Use: "merge [flags] filename [...filename]",
Short: "Merges multiple decK files into one",
Long: `Merges multiple decK files into one.
Short: "Merge multiple decK files into one",
Long: `Merge multiple decK files into one.
The files can be either json or yaml format. Will merge all top-level arrays by simply
concatenating them. Any other keys will be copied. The files will be processed in the order
Expand Down
4 changes: 2 additions & 2 deletions cmd/patch.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ func executePatch(cmd *cobra.Command, args []string) error {
func newPatchCmd() *cobra.Command {
patchCmd := &cobra.Command{
Use: "patch [flags] [...patch-files]",
Short: "Applies patches on top of a decK file",
Long: `Applies patches on top of a decK file.
Short: "Apply patches on top of a decK file",
Long: `Apply patches on top of a decK file.
The input file will be read, the patches will be applied, and if successful, written
to the output file. The patches can be specified by a '--selector' and one or more
Expand Down
4 changes: 2 additions & 2 deletions cmd/removetags.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ func executeRemoveTags(cmd *cobra.Command, tagsToRemove []string) error {
func newRemoveTagsCmd() *cobra.Command {
removeTagsCmd := &cobra.Command{
Use: "remove-tags [flags] tag [...tag]",
Short: "Removes tags from objects in a decK file",
Long: `Removes tags from objects in a decK file.
Short: "Remove tags from objects in a decK file",
Long: `Remove tags from objects in a decK file.
The listed tags are removed from all objects that match the selector expressions.
If no selectors are given, all Kong entities will be selected.`,
Expand Down

0 comments on commit c4acd9a

Please sign in to comment.