add a preview note for all non-bootstrap commands

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
This commit is contained in:
Sanskar Jaiswal 2023-04-04 18:05:48 +05:30 committed by Stefan Prodan
parent 52acac1a37
commit 97b064be13
No known key found for this signature in database
GPG key ID: 3299AEB0E4085BAF
116 changed files with 141 additions and 129 deletions

View file

@ -40,7 +40,7 @@ import (
var createSourceOCIRepositoryCmd = &cobra.Command{
Use: "oci [name]",
Short: "Create or update an OCIRepository",
Long: `The create source oci command generates an OCIRepository resource and waits for it to be ready.`,
Long: withPreviewNote(`The create source oci command generates an OCIRepository resource and waits for it to be ready.`),
Example: ` # Create an OCIRepository for a public container image
flux create source oci podinfo \
--url=oci://ghcr.io/stefanprodan/manifests/podinfo \