Describe the issue
The Wiki page Advanced Interactive Input states that InputHistoryProvider can be accessed through the ICliContext property InputHistory, but no such property is defined by the interface.
Documentation should reflect the code. Ideally, the issue is resolved by exposing the missing property, or by documenting another way to access the InputHistoryProvider in interactive mode.
Additional context
Accessing the IInputHistoryProvider for an interactive session would be nice, e.g. to store user input in a file to remember cross-application-session command history.
I tried injecting an IInputHistoryProvider in a command, but it did not work for me.
EDIT: I see that the property was removed in f7ba106
Describe the issue
The Wiki page Advanced Interactive Input states that
InputHistoryProvidercan be accessed through theICliContextpropertyInputHistory, but no such property is defined by the interface.Documentation should reflect the code. Ideally, the issue is resolved by exposing the missing property, or by documenting another way to access the
InputHistoryProviderin interactive mode.Additional context
Accessing the
IInputHistoryProviderfor an interactive session would be nice, e.g. to store user input in a file to remember cross-application-session command history.I tried injecting an
IInputHistoryProviderin a command, but it did not work for me.EDIT: I see that the property was removed in f7ba106