changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / rust/lib/util/src/cli.rs

changeset 698: 96958d3eb5b0
parent: 97c99e44a22f
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 //! cli module
2 #[cfg(feature = "bs")]
3 pub use clap_complete;
4 pub use indicatif;
5 pub use terminal_clipboard;
6 
7 pub fn log_level_str_from_cli(b: u8) -> &'static str {
8  match b {
9  0 => "info",
10  1 => "debug",
11  _ => "trace",
12  }
13 }