Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] ICliContext has no property InputHistory #222

Open
BarkenBark opened this issue Nov 3, 2023 · 1 comment
Open

[Documentation] ICliContext has no property InputHistory #222

BarkenBark opened this issue Nov 3, 2023 · 1 comment

Comments

@BarkenBark
Copy link

BarkenBark commented Nov 3, 2023

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

@BarkenBark
Copy link
Author

Lovely repo, btw!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant