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

Generate stubs from process outputs #5058

Open
bentsherman opened this issue Jun 11, 2024 · 0 comments
Open

Generate stubs from process outputs #5058

bentsherman opened this issue Jun 11, 2024 · 0 comments

Comments

@bentsherman
Copy link
Member

It should be possible to generate a "stub" script from the process outputs, since the purpose of the stub is essentially to generate some empty output files that match the output declaration in order to trigger downstream processes. This should eliminate the need to explicitly define a stub in most cases.

Some edge cases to consider:

  • defining a variable (without def) in the process body and referencing it in the outputs
  • defining an output glob
    • arity option could be used to generate a valid collection of files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant