diff --git a/cmd/assembly.go b/cmd/assembly.go index 8c6c01200..038f944c2 100644 --- a/cmd/assembly.go +++ b/cmd/assembly.go @@ -35,9 +35,9 @@ var assembleCommand = &cobra.Command{ func init() { assembleCommand.Flags().StringVarP(&assembleCmdSrc, - "source", "s", "", "The path to the MTA project; the current path is set as the default") + "source", "s", "", "The path to the MTA project; the current path is set as default") assembleCommand.Flags().StringVarP(&assembleCmdTrg, - "target", "t", "", "The path to the results folder; the current path is set as the default") + "target", "t", "", `The path to the folder in which the MTAR file is created; the path to the "mta_archives" subfolder of the current folder is set as default`) assembleCommand.Flags().StringSliceVarP(&assembleCmdExtensions, "extensions", "e", nil, "The MTA extension descriptors") assembleCommand.Flags().StringVarP(&assembleCmdMtarName, diff --git a/cmd/cmd.go b/cmd/cmd.go index f5629a64d..9950e330c 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -43,16 +43,16 @@ func init() { // set flags of cleanup command cleanupCmd.Flags().StringVarP(&cleanupCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is set as the default") + "The path to the MTA project; the current path is set as default") cleanupCmd.Flags().StringVarP(&cleanupCmdTrg, "target", "t", "", - "The path to the results folder; the current path is set as the default") + "The path to the folder in which the temporary artifacts were created; the current path is set as default") cleanupCmd.Flags().StringVarP(&cleanupCmdDesc, "desc", "d", "", `The MTA descriptor; supported values: "dev" (development descriptor, default value) and "dep" (deployment descriptor)`) cleanupCmd.Flags().BoolP("help", "h", false, `Displays detailed information about the "cleanup" command`) // set flags of validation command validateCmd.Flags().StringVarP(&validateCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is set as the default") + "The path to the MTA project; the current path is set as default") validateCmd.Flags().StringVarP(&validateCmdMode, "mode", "m", "", `The validation mode; supported values: "schema", "semantic" (default)`) validateCmd.Flags().StringVarP(&validateCmdDesc, "desc", "d", "", diff --git a/cmd/gen.go b/cmd/gen.go index 7ff3e742c..382672750 100644 --- a/cmd/gen.go +++ b/cmd/gen.go @@ -34,9 +34,9 @@ func init() { // set flags of mtad command mtadCmd.Flags().StringVarP(&mtadCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is set as the default") + "The path to the MTA project; the current path is set as default") mtadCmd.Flags().StringVarP(&mtadCmdTrg, "target", "t", - "", "The path to the results folder; the current path is set as the default") + "", "The path to the folder in which the 'mtad.yaml' file is generated; the current path is set as default") mtadCmd.Flags().StringSliceVarP(&mtadCmdExtensions, "extensions", "e", nil, "The MTA extension descriptors") mtadCmd.Flags().StringVarP(&mtadCmdPlatform, "platform", "p", "cf", @@ -45,9 +45,9 @@ func init() { // set flags of meta command metaCmd.Flags().StringVarP(&metaCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is set as the default") + "The path to the MTA project; the current path is set as default") metaCmd.Flags().StringVarP(&metaCmdTrg, "target", "t", "", - "The path to the results folder; the current path is set as the default") + "The path to the folder in which a temporary folder with generated metadata is created; the current path is set as default") metaCmd.Flags().StringVarP(&metaCmdDesc, "desc", "d", "", `The MTA descriptor; supported values: "dev" (development descriptor, default value) and "dep" (deployment descriptor)`) metaCmd.Flags().StringSliceVarP(&metaCmdExtensions, "extensions", "e", nil, @@ -58,9 +58,9 @@ func init() { // set flags of mtar command mtarCmd.Flags().StringVarP(&mtarCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is set as the default") + "The path to the MTA project; the current path is set as default") mtarCmd.Flags().StringVarP(&mtarCmdTrg, "target", "t", "", - "The path to the results folder; the current path is set as the default") + `The path to the folder in which the MTAR file is created; the path to the "mta_archives" subfolder of the current folder is set as default`) mtarCmd.Flags().StringVarP(&mtarCmdDesc, "desc", "d", "", `The MTA descriptor; supported values: "dev" (development descriptor, default value) and "dep" (deployment descriptor)`) mtarCmd.Flags().StringSliceVarP(&mtarCmdExtensions, "extensions", "e", nil, diff --git a/cmd/init.go b/cmd/init.go index a24c87e4f..899be5f32 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -35,16 +35,16 @@ var buildCmdOutputSync bool func init() { // set flags for init command - initCmd.Flags().StringVarP(&initCmdSrc, "source", "s", "", "The path to the MTA project; the current path is set as the default") - initCmd.Flags().StringVarP(&initCmdTrg, "target", "t", "", "The path to the generated Makefile folder; the current path is set as the default") + initCmd.Flags().StringVarP(&initCmdSrc, "source", "s", "", "The path to the MTA project; the current path is set as default") + initCmd.Flags().StringVarP(&initCmdTrg, "target", "t", "", "The path to the folder in which the Makefile is generated; the current path is set as default") initCmd.Flags().StringSliceVarP(&initCmdExtensions, "extensions", "e", nil, "The MTA extension descriptors") initCmd.Flags().StringVarP(&initCmdMode, "mode", "m", "", `The mode of the Makefile generation; supported values: "default" and "verbose"`) _ = initCmd.Flags().MarkHidden("mode") initCmd.Flags().BoolP("help", "h", false, `Displays detailed information about the "init" command`) // set flags of build command - buildCmd.Flags().StringVarP(&buildCmdSrc, "source", "s", "", "The path to the MTA project; the current path is set as the default") - buildCmd.Flags().StringVarP(&buildCmdTrg, "target", "t", "", "The path to the results folder; the current path is set as the default") + buildCmd.Flags().StringVarP(&buildCmdSrc, "source", "s", "", "The path to the MTA project; the current path is set as default") + buildCmd.Flags().StringVarP(&buildCmdTrg, "target", "t", "", `The path to the folder in which the MTAR file is created; the path to the "mta_archives" subfolder of the current folder is set as default`) buildCmd.Flags().StringSliceVarP(&buildCmdExtensions, "extensions", "e", nil, "The MTA extension descriptors") buildCmd.Flags().StringVarP(&buildCmdMtar, "mtar", "", "", "The file name of the generated archive file") buildCmd.Flags().StringVarP(&buildCmdPlatform, "platform", "p", "cf", `The deployment platform; supported platforms: "cf", "xsa", "neo"`) diff --git a/cmd/merge.go b/cmd/merge.go index 1932207b3..b1d225b45 100644 --- a/cmd/merge.go +++ b/cmd/merge.go @@ -30,9 +30,9 @@ var mergeCmd = &cobra.Command{ func init() { // set flag of merge command mergeCmd.Flags().StringVarP(&mergeCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is set as the default") + "The path to the MTA project; the current path is set as default") mergeCmd.Flags().StringVarP(&mergeCmdTrg, "target", "t", - "", "The path to the results folder; the current path is set as the default") + "", "The path to the folder in which the merged file is generated") mergeCmd.Flags().StringSliceVarP(&mergeCmdExtensions, "extensions", "e", nil, "The MTA extension descriptors") mergeCmd.Flags().StringVarP(&mergeCmdName, "target-file-name", "n", "", diff --git a/cmd/module.go b/cmd/module.go index d43f40019..c0be8b9a2 100644 --- a/cmd/module.go +++ b/cmd/module.go @@ -26,9 +26,9 @@ func init() { // sets the flags of of the command pack module packModuleCmd.Flags().StringVarP(&packCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is is set as the default") + "The path to the MTA project; the current path is is set as default") packModuleCmd.Flags().StringVarP(&packCmdTrg, "target", "t", "", - "The path to the results folder; the current path is set as the default") + "The path to the folder in which the temporary artifacts of the module pack are created; the current path is is set as default") packModuleCmd.Flags().StringSliceVarP(&packCmdExtensions, "extensions", "e", nil, "The MTA extension descriptors") packModuleCmd.Flags().StringVarP(&packCmdModule, "module", "m", "", @@ -38,9 +38,9 @@ func init() { // sets the flags of the command build module buildModuleCmd.Flags().StringVarP(&buildModuleCmdSrc, "source", "s", "", - "The path to the MTA project; the current path is set as the default") + "The path to the MTA project; the current path is set as default") buildModuleCmd.Flags().StringVarP(&buildModuleCmdTrg, "target", "t", "", - "The path to the results folder; the current path is set as the default") + "The path to the folder in which the temporary artifacts of the module build are created; the current path is set as default") buildModuleCmd.Flags().StringSliceVarP(&buildModuleCmdExtensions, "extensions", "e", nil, "The MTA extension descriptors") buildModuleCmd.Flags().StringVarP(&buildModuleCmdModule, "module", "m", "", diff --git a/cmd/project.go b/cmd/project.go index dea4f3f3b..74a755d91 100644 --- a/cmd/project.go +++ b/cmd/project.go @@ -16,9 +16,9 @@ var projectBuildCmdPhase string func init() { projectBuildCmd.Flags().StringVarP(&projectBuildCmdSrc, - "source", "s", "", "The path to the MTA project; the current path is set as the default") + "source", "s", "", "The path to the MTA project; the current path is set as default") projectBuildCmd.Flags().StringVarP(&projectBuildCmdTrg, - "target", "t", "", "The path to the results folder; the current path is set as the default") + "target", "t", "", "The path to the folder in which the temporary artifacts of the project build are created; the current path is set as default") projectBuildCmd.Flags().StringVarP(&projectBuildCmdDesc, "desc", "d", "", `The MTA descriptor; supported values: "dev" (development descriptor, default value) and "dep" (deployment descriptor)`) projectBuildCmd.Flags().StringSliceVarP(&projectBuildCmdExtensions, "extensions", "e", nil,