-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Example:
commands:
show-users:
cmd: cat users.txt
grant-access-all:
ADMINS:
ref: show-usersWe can mimic this behavior like this:
commands:
show-users:
cmd: cat users.txt
grant-access-all:
ADMINS:
sh: lets show-usersand while this does not require complex validations, it is a bit slower since requires to start new instance of lets
Validate that:
- no circular deps created
- for example command declares env var with ref to itself
- another example - two commands
aandbdeclares envs thata:env:Bdepends onbandb:env:Adepends ona
- if command uses global env that depends on the command itself
- probably do not implement
mode: reffor global env in first iteration because it can be hard to deal with circular calls - something else ?
Metadata
Metadata
Assignees
Labels
No labels