radicle-heartwood-lfs/radicle-cli/examples
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
..
rad-auth.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-checkout-repo-config-linux.md cli: Fix a test failing on macos: rad_checkout 2023-02-10 15:01:06 +01:00
rad-checkout-repo-config-macos.md cli: Fix a test failing on macos: rad_checkout 2023-02-10 15:01:06 +01:00
rad-checkout.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-clone-unknown.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-clone.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-delegate.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-id-rebase.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-id.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-init-sync.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-init.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-issue.md radicle-cli: use Did across CLI 2023-02-16 17:07:14 +01:00
rad-patch.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad-rm.md cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00