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

Goatfile Pre-Script #60

Open
zekroTJA opened this issue Mar 19, 2024 · 0 comments
Open

Goatfile Pre-Script #60

zekroTJA opened this issue Mar 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@zekroTJA
Copy link
Member

zekroTJA commented Mar 19, 2024

It should be possible to add a "Pre Script" to a Goatfile, whichs acts as a script section
idependent from requests, which is executed before the Goatfile actions are executed.

This could be useful to initialize variables with default values or create utility functions*.

This should be implemented with or after #44 has been implemented because this would fit nicely in a metadata header of Goatfiles.


*Currently, function declarations are not carried over between the states of each action. Therefore,
this would have to be adjusted to make this possible.

@zekroTJA zekroTJA added the enhancement New feature or request label Mar 19, 2024
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

No branches or pull requests

1 participant