Skip to content

Commit

Permalink
Merge pull request #11 from rsteube/update-example
Browse files Browse the repository at this point in the history
updated example
  • Loading branch information
rsteube authored May 2, 2022
2 parents faa989e + 67bd78f commit c0fb83d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion example/example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"]
Expand Down

0 comments on commit c0fb83d

Please sign in to comment.