You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transfer this Commander object to a new command list, and give it a new name that will appear when the command prompt prints.
This function will return true if Commander finds and handles a command in this new command set.
This is normally used in conjunction with transferBack() when working with multiple command lists.
Example:
Cmdr.println("Passing to sub command handler");
if(Cmdr.transferTo(subCommands, numOfSubCmds, "sub")){
//commander returns true if it is passing back control//If not we remain in the sub command system.
Cmdr.transferBack(masterCommands, numOfMasterCmds, "Cmd");
}