From 5f81d796fed4e4efbaf6dbed7d3c69481afddeb3 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sat, 24 Feb 2024 23:20:14 +0000 Subject: Add status command --- src/command/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/command/mod.rs') diff --git a/src/command/mod.rs b/src/command/mod.rs index c207754..211b10f 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -7,9 +7,11 @@ pub mod add_remote; pub mod remove_remote; pub mod sync_up; pub mod sync_down; +pub mod status; pub mod version; pub mod help; + use std::io::Result; use add::Add; @@ -22,6 +24,7 @@ use remove_remote::RemoveRemote; use sync_up::SyncUp; use sync_down::SyncDown; use version::Version; +use status::Status; use help::Help; pub trait Command { @@ -43,6 +46,7 @@ pub fn available_commands() -> Vec> { Box::new(RemoveRemote::new()), Box::new(SyncUp::new()), Box::new(SyncDown::new()), + Box::new(Status::new()), Box::new(Version::new()), Box::new(Help::new()) ] -- cgit