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

Support custom inputs #14

Open
ds300 opened this issue Apr 10, 2023 · 0 comments
Open

Support custom inputs #14

ds300 opened this issue Apr 10, 2023 · 0 comments

Comments

@ds300
Copy link
Owner

ds300 commented Apr 10, 2023

We should let folks define async functions that can return an object matching {[key: string]: string | Buffer} that can be fed into manifests for tasks.

There should be a global option and a task-local option.

  • globalCustomInputs on LazyConfig
  • customInputs on TaskConfig

both with type

(args: {taskName: string, taskDir: string, }) => {[key: string]: string | Buffer} | Promise<{[key: string]: string | Buffer}>
@ds300 ds300 moved this to 📋 Backlog in lazyrepo road to beta Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant