Skip to content

Commit 5c80e4d

Browse files
authored
fix: make envFilePath optional (#35)
Signed-off-by: Magyari Sandor Szilard <[email protected]>
1 parent 7dbef39 commit 5c80e4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: wfsm/internal/wfsm/command/deploy.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ import (
2222

2323
var deployLongHelp = `
2424
This command takes two required flags: --manifestPath path/to/acpManifest
25-
--envFilePath path/to/envConfigFile
25+
2626
Optional flags:
27+
--envFilePath path/to/envConfigFile
2728
--baseImage can be set to determine which base image is used as the workflowserver for the agent.
2829
--deleteBuildFolders can be set to true or false to determine if the build folders should be deleted after deployment.
2930
--deploymentOption can be set to determine which deployment option to use from the manifest. It defaults to the first deployment option.
@@ -93,7 +94,6 @@ func init() {
9394
deployCmd.Flags().StringP(manifestPathFlag, "m", "", "Manifest file for the application")
9495
deployCmd.Flags().StringP(platformsFlag, "p", "docker", "Environment file for the application")
9596

96-
deployCmd.MarkFlagRequired(envFilePathFlag)
9797
deployCmd.MarkFlagRequired(manifestPathFlag)
9898
}
9999

0 commit comments

Comments
 (0)