49
.github/workflows/ci.yml
vendored
Normal file
49
.github/workflows/ci.yml
vendored
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: Check
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- run: cargo check --all-targets
|
||||||
|
|
||||||
|
fmt:
|
||||||
|
name: Format
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
components: rustfmt
|
||||||
|
- run: cargo fmt --all --check
|
||||||
|
|
||||||
|
clippy:
|
||||||
|
name: Clippy
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
with:
|
||||||
|
components: clippy
|
||||||
|
- run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
|
|
||||||
|
test:
|
||||||
|
name: Test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
- run: cargo test --all-targets
|
||||||
10
CONTRIBUTING.md
Normal file
10
CONTRIBUTING.md
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# Contributing
|
||||||
|
|
||||||
|
Contributions welcome! Feel free to open issues or pull requests.
|
||||||
|
|
||||||
|
## Branch naming
|
||||||
|
|
||||||
|
- `feature/description`
|
||||||
|
- `fix/description`
|
||||||
|
|
||||||
|
CI runs fmt, clippy, and tests on pull requests.
|
||||||
11
README.md
11
README.md
@@ -1,5 +1,12 @@
|
|||||||
# claude-chill
|
# claude-chill
|
||||||
|
|
||||||
|
[](https://github.com/davidbeesley/claude-chill/actions/workflows/ci.yml)
|
||||||
|
[](LICENSE)
|
||||||
|
[](https://github.com/davidbeesley/claude-chill/stargazers)
|
||||||
|
[](https://github.com/davidbeesley/claude-chill/network)
|
||||||
|

|
||||||
|

|
||||||
|
|
||||||
A PTY proxy that tames Claude Code's massive terminal updates.
|
A PTY proxy that tames Claude Code's massive terminal updates.
|
||||||
|
|
||||||
## The Problem
|
## The Problem
|
||||||
@@ -76,6 +83,10 @@ Keys: `[a]`-`[z]`, `[f1]`-`[f12]`, `[pageup]`, `[pagedown]`, `[home]`, `[end]`,
|
|||||||
|
|
||||||
This tool was developed for personal convenience on Debian Linux. It works for me, but it hasn't been extensively tested across different terminals, operating systems, or edge cases. Don't use it to send anyone to space, perform surgery, or run critical infrastructure. If it breaks, you get to keep both pieces.
|
This tool was developed for personal convenience on Debian Linux. It works for me, but it hasn't been extensively tested across different terminals, operating systems, or edge cases. Don't use it to send anyone to space, perform surgery, or run critical infrastructure. If it breaks, you get to keep both pieces.
|
||||||
|
|
||||||
|
## Contributing
|
||||||
|
|
||||||
|
See [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
MIT
|
MIT
|
||||||
|
|||||||
@@ -23,11 +23,7 @@ use clap::Parser;
|
|||||||
Keys: [a]-[z], [f1]-[f12], [pageup], [enter], [space], etc."
|
Keys: [a]-[z], [f1]-[f12], [pageup], [enter], [space], etc."
|
||||||
)]
|
)]
|
||||||
pub struct Cli {
|
pub struct Cli {
|
||||||
#[arg(
|
#[arg(help = "Command to run", required = true, value_name = "COMMAND")]
|
||||||
help = "Command to run",
|
|
||||||
required = true,
|
|
||||||
value_name = "COMMAND"
|
|
||||||
)]
|
|
||||||
pub command: String,
|
pub command: String,
|
||||||
|
|
||||||
#[arg(
|
#[arg(
|
||||||
|
|||||||
Reference in New Issue
Block a user