Skip to content

Have cli flags take precedence over the config file #52

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Westwooo
Copy link
Contributor

@Westwooo Westwooo commented Jun 2, 2025

Addresses: #51 , #48 and #25

This PR changes the way that spectroperf reads in the config flags and file to make the flag settings take precedence over the config file. It also moves where the config struct is defined so that we can access the struct from the workload package allowing us to pass the whole config to workloads, simplifying method signatures. Finally there are some small improvements to the logging.

@Westwooo Westwooo requested a review from ingenthr June 2, 2025 07:07
@Westwooo Westwooo mentioned this pull request Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants