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

fix: make sure fill defualts and expand args for all types #481

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

Conversation

cpuguy83
Copy link
Member

@cpuguy83 cpuguy83 commented Dec 20, 2024

Cherry-picks 8cc2df0 from #480 to avoid merge conflicts

Adds tests and fixes implementations where we weren't filling default
values and expanding args.
This was mostly a problem for anything under the targets section, but
also a few other fields where arg expansion is nice to have (such as in
test commands).

Also splits some types/functions off to separate files so we don't have one mega file.

Fixes #479
Fixes #467

This makes it so frontends can have their own args that the dalec core
does not need to know about.

This also moves the custom args for windowscross local to that
implementation.

Signed-off-by: Brian Goff <[email protected]>
@cpuguy83 cpuguy83 requested a review from a team as a code owner December 20, 2024 18:10
@cpuguy83 cpuguy83 requested a review from adamperlin December 20, 2024 18:11
@cpuguy83 cpuguy83 force-pushed the improve_subst branch 2 times, most recently from d797b36 to eb8031a Compare December 20, 2024 18:25
frontend/mux.go Outdated Show resolved Hide resolved
load.go Outdated Show resolved Hide resolved
Adds tests and fixes implementations where we weren't filling default
values and expanding args.
This was mostly a problem for anything under the `targets` section, but
also a few other fields where arg expansion is nice to have (such as in
test commands).

Signed-off-by: Brian Goff <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants