radicle-heartwood-lfs/radicle-cli/src/commands
Alexis Sellier 0a93fa833e
cli: Simplify & improve CLI output
Improvements to the CLI output as well as converging towards
`termion` as a backend.

The crates we were using for prompting and spinners were based on
a terminal backend called `console`, which is not really used
anywhere else. There were also limitations in terms of the output
of these crates.

Therefore, we switched to the `inquire` crate for prompting, using
the `termion` backend, which is very standard.

Additionally, we simplify the terminal output to use symbols:

! for Warning
✓ for Success
✗ for Error

... Instead of a mix of words and symbols.

We also include a modified version of the `yansi` crate which plays
well with our table formatting functions by automatically truncating
and padding output in a unicode-aware way.
2023-02-27 17:10:52 +01:00
..
delegate Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
patch cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
assign.rs radicle-cli: use Did across CLI 2023-02-16 17:07:14 +01:00
auth.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
checkout.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
clone.rs Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
comment.rs Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
delegate.rs cli: add rid function for Id parsing 2023-02-16 17:07:14 +01:00
edit.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
help.rs cli: add missing commands for rad_help 2023-02-24 11:41:19 +01:00
id.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
init.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
inspect.rs Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
issue.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
ls.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
merge.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
patch.rs cli: Add `rad patch checkout` 2023-02-15 14:06:04 +01:00
path.rs Rename `profile::Paths` to `profile::Home` 2023-01-17 11:01:36 +01:00
push.rs Upgrade Rust to 1.66 2022-12-15 20:55:26 +01:00
review.rs cli: split into patch::create and patch::update 2023-02-06 13:53:31 +01:00
rm.rs cli: add rid function for Id parsing 2023-02-16 17:07:14 +01:00
self.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
track.rs Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
unassign.rs radicle-cli: use Did across CLI 2023-02-16 17:07:14 +01:00
untrack.rs Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
web.rs cli: Allow specifying protocol for `rad web` 2023-02-09 16:51:32 +01:00