Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: add history parameter #127

Merged
merged 1 commit into from
Jan 30, 2025
Merged

feat: add history parameter #127

merged 1 commit into from
Jan 30, 2025

Conversation

JupiterPi
Copy link
Contributor

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
@owlstronaut owlstronaut merged commit 980e75c into npm:main Jan 30, 2025
20 checks passed
@github-actions github-actions bot mentioned this pull request Jan 30, 2025
owlstronaut pushed a commit that referenced this pull request Jan 30, 2025
🤖 I have created a release *beep* *boop*
---


## [4.1.0](v4.0.0...v4.1.0)
(2025-01-30)
### Features
*
[`980e75c`](980e75c)
[#127](#127) add `history` parameter
(#127) (@JupiterPi)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants