pokanop / nostromo

👽 CLI for building powerful aliases and tools
https://nostromo.sh/
MIT License
142 stars 8 forks source link

Add disabled field to Command struct and omit in evaluation #25

Closed saheljalal closed 2 years ago

saheljalal commented 4 years ago

Add a disabled field to Command so that any node downstream in the tree is ignored. When evaluating a command, it should take the key path into account such that a disabled node cannot match.

This will be useful when we have multiple manifests and need to avoid collisions for synched manifests.