29 using System.Collections.Generic;
32 namespace OpenSim.Framework
45 List<string> GetHelp(
string[] cmd);
55 void AddCommand(
string module,
bool shared,
string command,
string help,
string longhelp,
CommandDelegate fn);
66 void AddCommand(
string module,
bool shared,
string command,
67 string help,
string longhelp,
string descriptivehelp,
75 bool HasCommand(
string command);
77 string[] FindNextOption(
string[] command,
bool term);
79 string[] Resolve(
string[] command);
81 XmlElement GetXml(XmlDocument doc);
95 string DefaultPrompt {
get; set; }
102 void RunCommand(
string cmd);
104 string ReadLine(
string p,
bool isCommand,
bool e);
delegate void CommandDelegate(string module, string[] cmd)
delegate void OnOutputDelegate(string message)
OnOutputDelegate OnOutput