using Quadarax.Foundation.Core.Object; using Quadarax.Foundation.Core.QConsole.Context; using System.IO.Abstractions; namespace qdr.app.tools.qfu { internal class QfuCommandContext : DisposableObject, ICommandContext { private IFileSystem? _fileSystem; public IFileSystem FileSystem => _fileSystem ?? new FileSystem(); public string Status => "READY"; public QfuCommandContext(IFileSystem fileSystem) { _fileSystem = fileSystem; } protected override void OnDisposing() { _fileSystem = null; } } }