CommandHistory.inMemory constructor
An in-memory history with no backing file (used by tests).
Implementation
factory CommandHistory.inMemory({
List<String>? entries,
int maxEntries = 1000,
}) => CommandHistory._(entries ?? <String>[], null, maxEntries);