Skip to content

Commit

Permalink
revamp_define.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Aug 19, 2023
1 parent fbba64b commit 5ebc3bb
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion docs/revamp_define.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,21 @@

- How can we redo current such usages?

## Q.
## Q. Be able to set variable globally (via environment, not cli)

Now this is achieved by

```shell
# Makesurefile

@define VAR="${VAR}"

@goa default
echo "$VAR"
```

```
$ export VAR=hello
$ ./makesure
```

0 comments on commit 5ebc3bb

Please sign in to comment.