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

Add support for arbitrary commands in formatted executables #634

Conversation

douglasjacobsen
Copy link
Collaborator

This merge allows formatted_executable definitions to have a commands attribute, which can define the lines that should be in the formatted output.

The default is to format all of the commands for the experiment, but this can be override to format arbitrary strings / variables. Item in the commands list will be expanded as a variable definition, and then split over new-lines before formatting based on the formatted executable definition.

@douglasjacobsen douglasjacobsen added the enhancement New feature or request label Sep 6, 2024
This commit allows formatted_executable definitions to have a `commands`
attribute, which can define the lines that should be in the formatted
output.

The default is to format all of the commands for the experiment, but
this can be override to format arbitrary strings / variables. Item in
the `commands` list will be expanded as a variable definition, and then
split over new-lines before formatting based on the formatted executable
definition.
@douglasjacobsen douglasjacobsen force-pushed the formatted-executable-control branch from 58c464a to 7c3f517 Compare September 6, 2024 20:25
@douglasjacobsen douglasjacobsen merged commit 3bac6af into GoogleCloudPlatform:develop Sep 9, 2024
12 checks passed
@douglasjacobsen douglasjacobsen deleted the formatted-executable-control branch September 9, 2024 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants