<feed xmlns='http://www.w3.org/2005/Atom'>
<title>awwan/testdata/env_set_test.data, branch dev</title>
<subtitle>Configuration management software, scriptable shell with SSH support.</subtitle>
<id>http://git.kilabit.info/awwan/atom?h=dev</id>
<link rel='self' href='http://git.kilabit.info/awwan/atom?h=dev'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/'/>
<updated>2024-01-16T15:22:19Z</updated>
<entry>
<title>all: refactoring "env-set" arguments</title>
<updated>2024-01-16T15:22:19Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-01-16T15:00:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=71b40922e6b6cc4f2d4b3fa94cbe586720bf6f8c'/>
<id>urn:sha1:71b40922e6b6cc4f2d4b3fa94cbe586720bf6f8c</id>
<content type='text'>
Previously, the "env-set" take the file argument as the last argument
and optional.
This changes move the file argument to the first argument so the bash
completion can detect and print the completion for list of keys.

While at it, fix handling key with quoted in EnvSet and EnvGet.

Closes: https://todo.sr.ht/~shulhan/awwan/10
</content>
</entry>
<entry>
<title>all: move the file argument in env-set to the last argument</title>
<updated>2023-11-17T14:40:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-17T14:40:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=49f18f5fde5350545c6399823edd31ad8826fb90'/>
<id>urn:sha1:49f18f5fde5350545c6399823edd31ad8826fb90</id>
<content type='text'>
The "file" argument is optional, its define path to environment file.
If its empty it will be set to "awwan.env" in the current directory.
</content>
</entry>
<entry>
<title>all: implement command to set environment value with "env-set"</title>
<updated>2023-11-16T18:39:38Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-11-16T18:29:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/awwan/commit/?id=68cbc52f2195063a0b4c9ce8c6c4cf030182c53a'/>
<id>urn:sha1:68cbc52f2195063a0b4c9ce8c6c4cf030182c53a</id>
<content type='text'>
The env-set command set the value of environment file. Syntax,

	&lt;file&gt; &lt;key&gt; &lt;value&gt;

The "file" argument define path to environment file.
The "key" argument define the key to be set using "section:sub:name"
format.
The "value" argument define the value key.

For example, to set the value for "name" under section "host" to
"myhost" in file "awwan.env" run

	$ awwan env-set awwan.env host::name myhost

To set the value for key "pass" under section "user" subsection "database"
to value "s3cret" in file "awwan.env" run

	$ awwan env-set awwan.env user:database:pass s3cret
</content>
</entry>
</feed>
