Commit dab84f9
feat: native SSH command execution with async-ssh2-tokio (#250)
* feat: implement remote commands execution via ssh
* wip
* feat: execute SSH commands and stream output directly
* style: fix md format
* style: apply automated fixes
* fix: pass quiet flag to connect to suppress spinner
* refactor: load config only once
* chore: add .gitattributes
* test: add e2e test using ssh server
* test: add tests
* chore: remove biwa.toml
* refactor: remove duplicate test and update spinner
* refactor: extract spinner into crate-level ui module
* refactor(ssh): split execute_command into build_command + run_command, DRY stream writing
* chore: remove biwa.toml
* chore: remove test file
* chore(.gitattributes): fix dir
* style: autofix clippy
* style: apply automated fixes
* chore(clippy): disable multiple_crate_versions
* refactor: fix clippy warnings
* refactor: fix clippy warnings
* style: apply automated fixes
* refactor: replace ENV_MUTEX with serial_test for env-mutating tests
* chore(deny): makee config strict
* fix: rename connect() parameter silent -> quiet for spinner suppression
* chore: lower visibility of cli subcommands and create_spinner
* refactor: replace unnecessary pub(crate) and pub with private/pub(super)
* refactor: remove missed pub declarations on internal methods
* feat: support encrypted ssh keys
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>1 parent b59c23b commit dab84f9
38 files changed
Lines changed: 3016 additions & 208 deletions
File tree
- .github/workflows
- docs
- .vitepress
- src
- cli
- schema
- src
- cli
- snapshots
- config
- ssh
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
29 | 39 | | |
30 | 40 | | |
31 | 41 | | |
| |||
0 commit comments