I tested but in this case user have to use new command syntax: >ods-authenticate-user <user> with <password>
but I want to preserve old one: >ods-authenticate-user <user> password <password> This command is only example. I search common solution. Here is suitable to change modifier keyword 'password' with 'with' but in other commands is not possible to select proper role. On Jul 31, 4:53 pm, Brandon Pung <[email protected]> wrote: > Here ya go: > > CmdUtils.CreateCommand({ > names: ["ods-authenticate-user"], > arguments: [ > {role: "object", label: "username", nountype: noun_arb_text}, > {role: "instrument", label: "password", nountype: noun_arb_text} > ], > ...... > > > > On Fri, Jul 31, 2009 at 3:37 AM, mitache <[email protected]> wrote: > > > I am in the process of converting our ubiquity commands to work > > with Parser2. > > I have problems how to convert old modifiers with semantic roles but > > to preserve old modifier nouns? > > One typical command is: > > > CmdUtils.CreateCommand({ > > name: "ods-authenticate-user", > > takes: {"username": noun_arb_text}, > > modifiers: {"password": noun_arb_text}, > > ...... > > > I want to preserve its syntax: > > > >ods-authenticate-user <user> password <password> > > -- > Brandon James Pung > Massachusetts Institute of Technology Class of 2010 > Department of Electrical Engineering and Computer Science > 828.777.8640 | [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
