public override int Run(string[] remainingArguments) { using (var fileStream = new FileStream(remainingArguments[0], FileMode.Open, FileAccess.Read)) { using (var reader = new FileDBReader(fileStream)) { Node content = reader.ReadFile(); this.Dump(content, 0); } } return(0); }
public override int Run(string[] remainingArguments) { using (var fileStream = new FileStream(remainingArguments[0], FileMode.Open, FileAccess.Read)) { using (var reader = new FileDBReader(fileStream)) { Node content = reader.ReadFile(); this.Dump(content, 0); } } return 0; }