SDK for creating ops using bash.
$ ux prompt input -a \
--message="Some message" \
--name="input" \
--default=Value
$ ux prompt editor \
--message="Some message" \
--name="input" \
--default=Value
$ ux prompt confirm --default-true \
--message="Some message" \
--name="input name"
$ ux prompt list --autocomplete \
-n "autocomplete" \
-m "Autocomplete Message" \
-d val3 \
val1 val2 val3 val4
$ ls list_fixture | xargs ux prompt list -a \
-n "autocomplete" \
-m "Autocomplete Message" \
-d file1.js
$ cat list_fixture/list.txt | tr "\n" " " | xargs ux prompt list \
-a \
-n "autocomplete" \
-m "Autocomplete Message" \
-d "item 1"
$ cat list_fixture/list.txt | tr "\n" " " | xargs ux prompt checkbox \
-n "checkout" \
-m "Checkout Message"
$ cat list_fixture/list.txt | tr "\n" " " | xargs ux prompt list \
-n "list" \
-m "List Message" \
-d "item 1"
# $(date +%Y-%m-%dT%H:%M:%S%Z)
# Formats "2019-12-11T21:37:12-08:00" or "2019-12-11T13:39:37Z"
# date -u +%FT%TZ
$ ux prompt datetime \
-n "datetime" \
-m "Datetime Message" \
-d "2019-12-20T00:00:00-08:00" \
--min="2019-12-11T00:00:00-08:00" \
--max="2019-12-28T00:00:00-08:00" \
--date
$ ux prompt number \
-n "number" \
-m "Number Message" \
-d 5 \
--min=1 \
--max=10
$ ux prompt password \
-n "password" \
-m "Password Message" \
--confirm
$ ux prompt secret -n "secret" -m "Secret Message"
$ ux spinner start -m "Starting process"
$ sleep 5
$ ux spinner stop -m "Done!"
$ ux progressbar start -l 5 -m Downloading
$ for ((i=1;i<=5;++i)); do sleep 1; ux progressbar advance; done
$ ux progressbar stop -m 'Download Done!'
$ ux print some text
$ sdk secret get name
$ sdk secret set -k name -v secret
$ sdk state get name
$ sdk state get -a
$ sdk state set -k name -v state
$ sdk config get name
$ sdk config get -a
$ sdk config set -k name -v config