This is an automated email from the ASF dual-hosted git repository. rantunes pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools-temporary-rnd-do-not-use.git
commit b677f08d16bd5f2d7955948a92261ddef66f86f1 Author: Moti Asayag <[email protected]> AuthorDate: Wed Nov 8 13:10:24 2023 +0200 Update gen-manifest verb description (#2025) Signed-off-by: Moti Asayag <[email protected]> --- .../kn-plugin-workflow/pkg/command/deploy_undeploy_common.go | 8 ++++---- packages/kn-plugin-workflow/pkg/command/gen_manifest.go | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/kn-plugin-workflow/pkg/command/deploy_undeploy_common.go b/packages/kn-plugin-workflow/pkg/command/deploy_undeploy_common.go index 6f43f289fc..b4fa4a1b68 100644 --- a/packages/kn-plugin-workflow/pkg/command/deploy_undeploy_common.go +++ b/packages/kn-plugin-workflow/pkg/command/deploy_undeploy_common.go @@ -6,15 +6,15 @@ * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations - * under the License. + * under the License. */ package command @@ -121,7 +121,7 @@ func generateManifests(cfg *DeployUndeployCmdConfig) error { fmt.Printf(" - ✅ Dashboard found: %s\n", file) } - fmt.Println("🚚️ Generating your Kubernetes manifest files..") + fmt.Println("🚚️ Generating your Kubernetes manifest files...") swfFile, err := common.MustGetFile(cfg.SonataFlowFile) if err != nil { diff --git a/packages/kn-plugin-workflow/pkg/command/gen_manifest.go b/packages/kn-plugin-workflow/pkg/command/gen_manifest.go index 78b6980fb3..934207f568 100644 --- a/packages/kn-plugin-workflow/pkg/command/gen_manifest.go +++ b/packages/kn-plugin-workflow/pkg/command/gen_manifest.go @@ -34,17 +34,17 @@ func NewGenManifest() *cobra.Command { Use: "gen-manifest", Short: "GenerateOperator manifests", Long: ` - Generate a list of Operator manifests for a SonataFlow project. - by default, the manifests are generated in the ./manifests directory, + Generate a list of Operator manifests for a SonataFlow project. + By default, the manifests are generated in the ./manifests directory, but they can be configured by --manifestPath flag. `, Example: ` - # Shows the plugin version - {{.Name}} gen-manifest + # Persist the generated Operator manifests on a default path (./manifests) + {{.Name}} gen-manifest # Persist the generated Operator manifests on a specific path {{.Name}} gen-manifest --manifestPath=<full_directory_path> # Specify a custom support files folder. - {{.Name}} gen-manifest --supportFiles=<full_directory_path> + {{.Name}} gen-manifest --supportFilesFolder=<full_directory_path> `, PreRunE: common.BindEnv("namespace", "manifestPath", "supportFilesFolder"), SuggestFor: []string{"gen-manifests", "generate-manifest"}, //nolint:misspell --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
