@@ -18,9 +18,9 @@ import (
1818)
1919
2020const (
21- inputFolderFlag = "input-directory"
22- configFolderFlag = "config-directory"
23- installPathFlag = "install-path"
21+ InputFolderFlag = "input-directory"
22+ ConfigFolderFlag = "config-directory"
23+ InstallPathFlag = "install-path"
2424)
2525
2626var (
@@ -33,11 +33,11 @@ var (
3333)
3434
3535func AddFlags (cmd * cobra.Command ) {
36- cmd .PersistentFlags ().StringVar (& inputFolder , inputFolderFlag , "" , "(Optional) Base path where to look for the configuration files." )
36+ cmd .PersistentFlags ().StringVar (& inputFolder , InputFolderFlag , "" , "(Optional) Base path where to look for the configuration files." )
3737
38- cmd .PersistentFlags ().StringVar (& configFolder , configFolderFlag , "" , "(Optional) Base path where to put the configuration files." )
38+ cmd .PersistentFlags ().StringVar (& configFolder , ConfigFolderFlag , "" , "(Optional) Base path where to put the configuration files." )
3939
40- cmd .PersistentFlags ().StringVar (& installPath , installPathFlag , "/opt/dynatrace/oneagent" , "(Optional) Base path where the agent binary will be put." )
40+ cmd .PersistentFlags ().StringVar (& installPath , InstallPathFlag , "/opt/dynatrace/oneagent" , "(Optional) Base path where the agent binary will be put." )
4141
4242 cmd .PersistentFlags ().StringArrayVar (& containerAttributes , container .Flag , []string {}, "(Optional) Container-specific attributes in JSON format." )
4343
0 commit comments