Allow forcing a parameter value to string
Adds ability to force a paramter value to string using the `--as-string`
flag.
e.g.
```
[I] mule · value-string-type-hint± ⟩ ks param set comp aDigit 1
[I] mule · value-string-type-hint± ⟩ ks param list comp
COMPONENT PARAM VALUE
========= ===== =====
comp aDigit 1
comp bindings [{"name":"name","role":"role","users":["user1","user2"]}]
[I] mule · value-string-type-hint± ⟩ ks param set comp aDigit 1 --as-string
[I] mule · value-string-type-hint± ⟩ ks param list comp
COMPONENT PARAM VALUE
========= ===== =====
comp aDigit "1"
comp bindings [{"name":"name","role":"role","users":["user1","user2"]}]
```
Fixes #496
Fixes #492
Signed-off-by:
bryanl <bryanliles@gmail.com>
Showing
Please register or sign in to comment