From ffcb43df8f39a55be468cf4bdfecd72dd026d940 Mon Sep 17 00:00:00 2001 From: diogo464 Date: Fri, 24 Dec 2021 21:01:11 +0000 Subject: initial implementation of status command closes #1 --- dotup_cli/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dotup_cli/src/main.rs') diff --git a/dotup_cli/src/main.rs b/dotup_cli/src/main.rs index fe2196e..05fa850 100644 --- a/dotup_cli/src/main.rs +++ b/dotup_cli/src/main.rs @@ -53,6 +53,7 @@ struct Opts { enum SubCommand { Init(commands::init::Opts), Link(commands::link::Opts), + Status(commands::status::Opts), Unlink(commands::unlink::Opts), Install(commands::install::Opts), Uninstall(commands::uninstall::Opts), @@ -86,6 +87,7 @@ fn main() -> anyhow::Result<()> { match opts.subcmd { SubCommand::Init(opts) => commands::init::main(config, opts), SubCommand::Link(opts) => commands::link::main(config, opts), + SubCommand::Status(opts) => commands::status::main(config, opts), SubCommand::Unlink(opts) => commands::unlink::main(config, opts), SubCommand::Install(opts) => commands::install::main(config, opts), SubCommand::Uninstall(opts) => commands::uninstall::main(config, opts), -- cgit