diff options
| author | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-02-24 23:20:14 +0000 |
|---|---|---|
| committer | Ruben Beltran del Rio <git@r.bdr.sh> | 2024-02-24 23:20:14 +0000 |
| commit | 5f81d796fed4e4efbaf6dbed7d3c69481afddeb3 (patch) | |
| tree | c99b6232a003f5a04e9ba0624d842aac8ac43462 /src/command/mod.rs | |
| parent | 442ebaf901a8ca686ce769325054e1f393d43b7c (diff) | |
Add status command
Diffstat (limited to 'src/command/mod.rs')
| -rw-r--r-- | src/command/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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<dyn Command>> { Box::new(RemoveRemote::new()), Box::new(SyncUp::new()), Box::new(SyncDown::new()), + Box::new(Status::new()), Box::new(Version::new()), Box::new(Help::new()) ] |