Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make envFilePath optional #35

Merged
merged 1 commit into from
Apr 8, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions wfsm/internal/wfsm/command/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ import (

var deployLongHelp = `
This command takes two required flags: --manifestPath path/to/acpManifest
--envFilePath path/to/envConfigFile

Optional flags:
--envFilePath path/to/envConfigFile
--baseImage can be set to determine which base image is used as the workflowserver for the agent.
--deleteBuildFolders can be set to true or false to determine if the build folders should be deleted after deployment.
--deploymentOption can be set to determine which deployment option to use from the manifest. It defaults to the first deployment option.
Expand Down Expand Up @@ -93,7 +94,6 @@ func init() {
deployCmd.Flags().StringP(manifestPathFlag, "m", "", "Manifest file for the application")
deployCmd.Flags().StringP(platformsFlag, "p", "docker", "Environment file for the application")

deployCmd.MarkFlagRequired(envFilePathFlag)
deployCmd.MarkFlagRequired(manifestPathFlag)
}

Expand Down
Loading