• bryanl's avatar
    Allow forcing a parameter value to string · cacbb56b
    bryanl authored
    
    
    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: default avatarbryanl <bryanliles@gmail.com>
    cacbb56b
actions.go 7.16 KB