-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Although we have our own name: ${name:value} mechanism implemented in yab, can we consider the values for the variables as a merge of env vars and those that are specified on the command line (command line taking the precedence)? I miss the expansion of ${HOME} to the path of my home folder.
Example yab
#!/usr/bin/env yab
service: hello
timeout: 2h
peer: localhost:6707
method: Hello::greet
#thrift: /Users/joe/gocode/src/idl/hello.thrift
thrift: ${HOME}/gocode/src/idl/hello.thrift
request:
actorID: ${actorID:joe@blo.com}
Somewhat unexpected error
➜ yabs ./is-super-admin.yab -A "actorID: dave@blo.com"
Failed while parsing input: cannot find Thrift file: "/Users/joe/yabs/${HOME}/gocode/src/idl/hello.thrift"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels