mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 11:47:01 +05:30
cli: add colored output to subcommands
Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
parent
ce1b9ff28d
commit
b46ba85002
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ pub(crate) enum SubCommand {
|
||||||
|
|
||||||
/// recursively find git repos and record their states into a lockfile
|
/// recursively find git repos and record their states into a lockfile
|
||||||
#[derive(Clap)]
|
#[derive(Clap)]
|
||||||
|
#[clap(setting = AppSettings::ColoredHelp)]
|
||||||
pub(crate) struct Freeze {
|
pub(crate) struct Freeze {
|
||||||
/// directory to search and freeze repos from.
|
/// directory to search and freeze repos from.
|
||||||
pub(crate) directory: String,
|
pub(crate) directory: String,
|
||||||
|
@ -28,6 +29,7 @@ pub(crate) struct Freeze {
|
||||||
|
|
||||||
/// takes the given
|
/// takes the given
|
||||||
#[derive(Clap)]
|
#[derive(Clap)]
|
||||||
|
#[clap(setting = AppSettings::ColoredHelp)]
|
||||||
pub(crate) struct Thaw {
|
pub(crate) struct Thaw {
|
||||||
/// directory to put cloned repos into.
|
/// directory to put cloned repos into.
|
||||||
pub(crate) directory: String,
|
pub(crate) directory: String,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue