mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-14 11:47:01 +05:30
subcommands: add colored output
Signed-off-by: ATechnoHazard <amolele@gmail.com>
This commit is contained in:
parent
fa7fea0df4
commit
7bbc33dd89
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,7 @@ fn main() -> anyhow::Result<()> {
|
|||
.subcommand(
|
||||
App::new("freeze")
|
||||
.about("Generate a gitice.lock file with all the repositories in the given directory")
|
||||
.setting(AppSettings::ColoredHelp)
|
||||
.args(&[Arg::with_name("directory")
|
||||
.help("Directory to look for Git repos in")
|
||||
.required(true)
|
||||
|
@ -34,6 +35,7 @@ fn main() -> anyhow::Result<()> {
|
|||
.subcommand(
|
||||
App::new("thaw")
|
||||
.about("Given a gitice.lock and a directory, clones back all the repositories from the lockfile in the directory")
|
||||
.setting(AppSettings::ColoredHelp)
|
||||
.args(&[
|
||||
Arg::with_name("directory")
|
||||
.help("Directory to restore repositories in")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue