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

Consider associating VarIds with tasks #48

Open
cassaundra opened this issue Mar 14, 2024 · 0 comments
Open

Consider associating VarIds with tasks #48

cassaundra opened this issue Mar 14, 2024 · 0 comments
Labels
enhancement New feature or request nushell-engine Items relevant to the nushell engine

Comments

@cassaundra
Copy link
Collaborator

cassaundra commented Mar 14, 2024

Currently, tasks are registered in a global scope managed by quake. By assigning variables to tasks, perhaps storing metadata inside of a custom value, we can get scope resolution and shadowing of tasks for free.

This would also allow for referencing tasks with other commands or as values (e.g. $build.artifacts). This could alternatively be implemented with the existing global $quake variable (e.g. $quake.tasks.build.artifacts).

@cassaundra cassaundra added enhancement New feature or request nushell-engine Items relevant to the nushell engine labels Mar 14, 2024
@cassaundra cassaundra mentioned this issue Mar 14, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request nushell-engine Items relevant to the nushell engine
Projects
None yet
Development

No branches or pull requests

1 participant