kv-bash icon indicating copy to clipboard operation
kv-bash copied to clipboard

Add the ability to use bash variables when setting keys

Open fattredd opened this issue 2 years ago • 2 comments

Now we can run

$ test="a b c"
$ kvset key 1 2 3 4 $test
$ kvget key
> 1 2 3 4 a b c

This is very helpful when using kv-bash for storing arrays.

fattredd avatar Apr 22 '22 20:04 fattredd

Good idea Jack!

Although your idea is good, but it does change the API signature.

Let me think more about it before merging because it might effect someone else who used the API.

damphat avatar Apr 25 '22 06:04 damphat

That's fair. Good call

fattredd avatar Apr 25 '22 13:04 fattredd