Skip to content
Discussion options

You must be logged in to vote

This is because of how we load arguments. See prepare in CommandProcessor here.

Effectively, we load environment variables first, and check for profile arguments there. We then build out all of the arguments from the command line, then the loaded config, the finally build out the arguments from default values.

The problem with this is that all of the options from the config are loaded in CliUtils.getOptValuesFromConfig here, which loads each profile one at a time. If the base profile is the first profile that is loaded, it will load all of the options from the base profile, then all of the options from the zOSMF profile, which specifies a new base profile to use. However, the base profile…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@adam-wolfe
Comment options

adam-wolfe Feb 24, 2025
Maintainer Author

Answer selected by adam-wolfe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants