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

feat: add history parameter #127

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add history parameter #127

wants to merge 1 commit into from

Conversation

JupiterPi
Copy link

This PR adds support for passing a history?: string[] array to read as the terminal history, which is then passed to readline.createInferface(). (The new history entry will mutate the arrary.) This is very useful for CLIs with an interactive command input.

@JupiterPi JupiterPi requested a review from a team as a code owner November 25, 2024 19:33
@wraithgar wraithgar changed the title History passed to readline feat: add history parameter Nov 25, 2024
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

Successfully merging this pull request may close these issues.

1 participant