From baee58ec2a9146c93a4ca7b4fbf9e9940e789d47 Mon Sep 17 00:00:00 2001 From: Xav Paice Date: Thu, 16 Apr 2026 14:10:34 +1200 Subject: [PATCH] fix doc formatting for replicated release create --- cli/cmd/release_create.go | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/cli/cmd/release_create.go b/cli/cmd/release_create.go index 9c8eb2971..3669a7e33 100644 --- a/cli/cmd/release_create.go +++ b/cli/cmd/release_create.go @@ -36,25 +36,24 @@ func (r *runners) InitReleaseCreate(parent *cobra.Command) error { Use: "create", Short: "Create a new release", Long: `Create a new release by providing application manifests for the next release in - your sequence. - - If no flags are provided, the command will automatically use the configuration from - .replicated file in the current directory (or parent directories). The config should - specify charts and manifests to include. Charts will be automatically packaged using - helm, and manifests will be collected using glob patterns. - - Example .replicated config: - appSlug: "my-app" - charts: - - path: ./chart - manifests: - - ./manifests/*.yaml - - With this config, simply run: - replicated release create --version 1.0.0 --promote Unstable - - To mark a release as required during upgrades: - replicated release create --version 1.0.0 --promote Unstable --required`, +your sequence. + +If no flags are provided, the command will automatically use the configuration from +.replicated file in the current directory (or parent directories). The config should +specify charts and manifests to include. Charts will be automatically packaged using +helm, and manifests will be collected using glob patterns.`, + Example: `# .replicated config: +appSlug: "my-app" + charts: + - path: ./chart + manifests: + - ./manifests/*.yaml + +# With this config, simply run: +replicated release create --version 1.0.0 --promote Unstable + +# To mark a release as required during upgrades: +replicated release create --version 1.0.0 --promote Unstable --required`, SilenceUsage: false, SilenceErrors: true, // this command uses custom error printing }