Skip to content

Commit

Permalink
line breaks and add "render" to short desc
Browse files Browse the repository at this point in the history
  • Loading branch information
lena-larionova authored Sep 15, 2023
1 parent a7b1f59 commit e4c384f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions cmd/file_render.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@ func executeFileRenderCmd(_ *cobra.Command, _ []string) error {
func newFileRenderCmd() *cobra.Command {
renderCmd := &cobra.Command{
Use: "render",
Short: "Combines multiple complete configuration files into one Kong declarative config file.",
Long: `Combines multiple complete configuration files into one Kong
Short: "Combines multiple complete configuration files and renders them as one Kong declarative config file.",
Long: `Combines multiple complete configuration files and renders them as one Kong
declarative config file.
This command renders a full declarative configuration in JSON or YAML format by assembling multiple files and populating defaults and environment substitutions. This command is useful to observe what configuration would be sent prior to synchronizing to the gateway.
This command renders a full declarative configuration in JSON or YAML format by assembling
multiple files and populating defaults and environment substitutions.
This command is useful to observe what configuration would be sent prior to synchronizing to
the gateway.
In comparison to the "deck file merge" command, the render command accepts complete configuration files,
while "deck file merge" can operate on partial files.
In comparison to the "deck file merge" command, the render command accepts
complete configuration files, while "deck file merge" can operate on partial files.
For example, the following command takes two input files and renders them as one
combined JSON file:
Expand Down

0 comments on commit e4c384f

Please sign in to comment.