Replies: 2 comments
-
I do mention it in the README, but If you want a really worked out example you could look at how lc uses |
Beta Was this translation helpful? Give feedback.
-
Also, if it is ok to be a single command line argument but maybe with commas (,), colons (:), or something, then you can define your own whole new on-the-CLI syntax with an (in-scope of |
Beta Was this translation helpful? Give feedback.
-
I had a look through the documentation and examples but couldn't see anything relevant. In my application I want to have a list of actions to be performed by one of the commands, where each action is represented as something like:
And the proc passed to cligen's dispatch is something like:
In practice these will probably be written out into a config file and merged in using
parsecfg
.Is this possible? Should I just have a separate config file and handle all this separately to cligen?
Beta Was this translation helpful? Give feedback.
All reactions