-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
It'd be nice to be able to assign variables based on the current environment, for functionality like listMode=$(cat ./aightmode || echo 'list') and so on. This would make it pretty extensible in the future.
To provide access to other settings / conditions, we could set each setting as a variable, e.g. aight_<key>=<value>, before evaluating the setting that we want to obtain. In this case, settings should not be evaluated while the file is being read; it would probably be more efficient to just evaluate them as they're accessed by the rest of the program, since each provider is only run once - better to make the file parsing as inexpensive as possible as each run probably only needs to use a small portion of it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request