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

Add Screen to replace cli::Runner #1040

Merged
merged 3 commits into from
Aug 15, 2024
Merged

Add Screen to replace cli::Runner #1040

merged 3 commits into from
Aug 15, 2024

Conversation

yykamei
Copy link
Owner

@yykamei yykamei commented Aug 15, 2024

cli::Runner is a bit difficult to update for adding new features, so I want to replace it with the new implementation, Screen.

Screen will behave like cli::Runner, but it's written for extensibility. Still, this struct is huge, but I believe it's better than cli::Runner.

This patch just adds Screen. I will replace cli::Runner with it later.

`cli::Runner` is a bit difficult to update for adding new features,
so I want to replace it with the new implementation, `Screen`.

`Screen` will behave like `cli::Runner`, but it's written for
extensibility. Still, this struct is huge, but I believe it's better
than `cli::Runner`.

This patch just adds `Screen`. I will replace `cli::Runner` with it
later.
@yykamei yykamei enabled auto-merge (squash) August 15, 2024 14:00
@yykamei yykamei disabled auto-merge August 15, 2024 14:12
@yykamei yykamei enabled auto-merge (squash) August 15, 2024 14:12
@yykamei yykamei merged commit 1a8447b into main Aug 15, 2024
21 checks passed
@yykamei yykamei deleted the screen branch August 15, 2024 14:14
yykamei added a commit that referenced this pull request Aug 15, 2024
With #1040,
`Screen` can be available in this project.

This patch replaces `cli::Runner` with `Screen`.

Note this patch also includes changes on the `tests/` directory because
tests will fail with this replacement. I'm considering refining the
tests with more readable and robust way.
yykamei added a commit that referenced this pull request Aug 15, 2024
With #1040,
`Screen` can be available in this project.

This patch replaces `cli::Runner` with `Screen`.

Note this patch also includes changes on the `tests/` directory because
tests will fail with this replacement. I'm considering refining the
tests with more readable and robust way.
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