Sha256: e820d4d919d0ead957fcf38e540b593785b4de3d2666d3ebfa57d4c38ccab873
Contents?: true
Size: 576 Bytes
Versions: 6
Compression:
Stored size: 576 Bytes
Contents
```vars :[set_vault_1] VAULT: 1 ``` ::: This is a Port block that saves current/live environment variable values into the generated script. ```port :[vault] VAULT ``` ```bash :VAULT-is-export exported_vault=$(export -p | grep '^declare -x VAULT') # (No output, var is not exported) ``` ::: This block requires the Port block and displays the value. ::: The Port block contributes the variable VAULT to the generated script. ```bash :show +[set_vault_1] +[vault] : ${VAULT:=This variable has not been set.} echo "VAULT: $VAULT" ``` @import bats-document-configuration.md
Version data entries
6 entries across 6 versions & 1 rubygems