- query each server independently for app status so ssh login issues no longer abort the whole poll (partial results still render) - show ssh/server errors as a dismissible banner instead of a dead-end error screen; any key dismisses and s can be retried - guard against concurrent status polls - stop tracking the compiled cctuip binary, add .gitignore - add -v/--version flag, remove dead code, harden type assertions, cache recipe catalogue lookups - align README install + controls with the code
42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
# cctuip
|
|
|
|
> Co-op Cloud TUI prototype 🎉
|
|
|
|
This is a prototype to gather some feedback.
|
|
|
|
## Install
|
|
|
|
```
|
|
go install coopcloud.tech/cctuip@latest
|
|
```
|
|
|
|
Or grab a binary from the [releases](https://github.com/kawaiipunk/cctuip/releases).
|
|
|
|
## Features
|
|
|
|
* `abra app ls` compatibility. It does not query `-S` unless you press
|
|
`s` (like passing `-S` on the CLI) so that initial loading times are
|
|
real fast (because we only query local-first data in `~/.abra`).
|
|
|
|
* Fuzzy search against domain, server and recipe.
|
|
|
|
## Controls
|
|
|
|
* `up/down`: scroll up / down (`jk` vim bindings also work)
|
|
* `page up/down`: ;page up down (`ctrl+u/d` vim binding also work)
|
|
* `/` or `f`: fuzzy filter against domain, server & recipe
|
|
* `enter`: focus on table, select row, confirm
|
|
* `esc`: reset filter
|
|
* `q`: quit
|
|
* `s`: retrieve app deployment status (filter first to reduce scope)
|
|
|
|
Unreachable servers (e.g. SSH login issues) are skipped and reported in a
|
|
banner; statuses for the remaining servers are still shown. Press any key to
|
|
dismiss the banner and try again.
|
|
|
|
## Hack
|
|
|
|
```
|
|
go run cctuip.go
|
|
```
|