Chained completers?

13 views
Skip to first unread message

Evgeny Minkevich

unread,
Oct 30, 2015, 11:57:24 PM10/30/15
to CRaSH User Group
Good day,

Working on a completer here and I need to limit its options based on the value of the previous argument.

An example:

command argument1 <completion for argument2>

completion for argument2 would depends on the value of argument1.

Is there a way to achieve that? Is it possible to get the arguments for a command?

Thank you in advance.
Reply all
Reply to author
Forward
0 new messages