aboutsummaryrefslogtreecommitdiff
path: root/testdata/env-get/awwan.env
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-11-17 03:18:52 +0700
committerShulhan <ms@kilabit.info>2023-11-17 03:18:52 +0700
commit19f5053c19bdd2f9f4f764eb17ef0f096eb87f3e (patch)
tree2c6553269f2c3d562fb9f0f7950268c90dd6a198 /testdata/env-get/awwan.env
parent68cbc52f2195063a0b4c9ce8c6c4cf030182c53a (diff)
downloadawwan-19f5053c19bdd2f9f4f764eb17ef0f096eb87f3e.tar.xz
all: implement command "env-get" to get value from environment files
The env-get command get the value from environment files. Syntax, ---- <key> [dir] ---- The "key" argument define the key where value is stored in environment using "section:sub:name" format. The "dir" argument is optional, its define the directory where environment files will be loaded, recursively, from BaseDir to dir. If its empty default to the current directory.
Diffstat (limited to 'testdata/env-get/awwan.env')
-rw-r--r--testdata/env-get/awwan.env2
1 files changed, 2 insertions, 0 deletions
diff --git a/testdata/env-get/awwan.env b/testdata/env-get/awwan.env
new file mode 100644
index 0000000..0467fe1
--- /dev/null
+++ b/testdata/env-get/awwan.env
@@ -0,0 +1,2 @@
+[host]
+name = localhost