Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
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