public string Help ( [Description("command name"), Suggest(nameof(Commands))] string command = default, RpcShell shell = default ) { if (command == null) { return(shell.GetHelp()); } else { return(shell.GetHelp(command)); } }
public void Exit(RpcShell shell) { shell.Exit(0); }
/// <summary> /// Lists available shell commands /// </summary> protected IEnumerable <string> Commands(RpcShell shell) => shell.GetCommands();