Stevens Gestin wrote:
This could be done through an "extended" BNF instead of parameter list.
Yes, it could be possible for commands to supply their own BNF. Other
possibilities include using the reflection capabilities of Java to see
which parameter types and number the command expects, perhaps.
-> richard
On Thu, Jan 8, 2009 at 1:10 PM, Trejkaz <[email protected]> wrote:
For me parameter completion is still part of the shell UI, not
part of the core shell API. The core shell API has to be defined
in such a way to make some of these features possible; for
example, if the shell API has no way to list available commands,
then there is no way to do command completion.
Likewise, if the shell has no way to list the types of the parameters
for the commands, then there is no way to do parameter completion in
the shell UI. Otherwise how will it know if what you're typing is a
username or a filename?
TX
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]