From 67bd78f60818dfdb60130a3126dfa29d541d01c2 Mon Sep 17 00:00:00 2001 From: rsteube Date: Mon, 2 May 2022 03:01:10 +0200 Subject: [PATCH] updated example --- example/example.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/example/example.yaml b/example/example.yaml index 16358b3..da6420e 100644 --- a/example/example.yaml +++ b/example/example.yaml @@ -9,10 +9,11 @@ commands: -s, --styled=: styled values -r, --repeatable*: repeatable flag -o, --optarg?: optarg flag + -l=,: list flag --dynamic=: dynamic value --env=: env --novalue: no value - -n: no value + -n, --nospace=!: nospace completion: flag: styled: @@ -26,6 +27,8 @@ commands: - "unstyled\tunstyled with description" dynamic: ["$(git branch --all | cut -c 3- | sed 's/$/\t\tblue/')", "static value"] env: ["$(env)"] + list: ["a", "b", "c", "d"] + nospace: ["1", "2", "3"] optarg: ["first", "second", "third"] positional: - ["pos1", "pos2"]