Files
rustup/src/cli.rs
hi-rustin f7579b70d9 replace term with termcolor
- moves terminal into currentprocess abstraction, because termcolor
doesn't accept a file handle, rather it takes an enum indirectly referencing the global state of stdout/stderr.
- provides write/fg/bg/locked etc as before
- abstracts over TestWriter, or termcolor's own concrete types
- still permits completely terminal-free operation where desired (e.g.
  future JSON RPC on stdin/stdout)

Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Signed-off-by: Robert Collins <robertc@robertcollins.net>
2023-05-30 21:18:01 +02:00

15 lines
279 B
Rust

/// The CLI specific code lives in the cli module and sub-modules.
#[macro_use]
pub mod log;
pub mod common;
mod download_tracker;
pub mod errors;
mod help;
mod job;
mod markdown;
pub mod proxy_mode;
pub mod rustup_mode;
pub mod self_update;
pub mod setup_mode;
mod topical_doc;