public override void Execute(string arg) { if (string.IsNullOrWhiteSpace(arg)) { OnWriteLine("Known records: " + string.Join(", ", _Store.GetRecordNames())); return; } var rec = _Store.GetRecord(arg); if (rec != null) { var lines = rec.TakeWhile(line => !line.Equals(EndReplayCommand)); CQ.AddInput(lines); } }
public override void Execute(string arg) { CQ.AddInput(_Mgr.GenerateInputForProc(arg)); }