aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/zot/command.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-10-30 20:31:03 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-10-30 20:31:03 +0100
commit7787ae6fe68c7eb803363612244809e074d4fa45 (patch)
tree82db8736131d30992f69ffc27e01d21f6182921b /src/bin/zot/command.rs
parent0f32f1d37c95818bc4ced69f09befe9320026611 (diff)
downloadrust-zotapi-refactor-cmd-handling.tar.gz
rust-zotapi-refactor-cmd-handling.tar.bz2
rust-zotapi-refactor-cmd-handling.zip
Re-export the structs from internal modules in the command mod.refactor-cmd-handling
Just improves usability some.
Diffstat (limited to 'src/bin/zot/command.rs')
-rw-r--r--src/bin/zot/command.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bin/zot/command.rs b/src/bin/zot/command.rs
index 6d85ed2..5f92752 100644
--- a/src/bin/zot/command.rs
+++ b/src/bin/zot/command.rs
@@ -9,3 +9,16 @@ pub mod channel;
pub mod contact;
pub mod verify;
pub mod version;
+
+pub use channel::{
+ export::ChannelExportCmd,
+ list::ChannelListCmd,
+ stream::ChannelStreamCmd,
+};
+
+pub use contact:: {
+ list::ContactListCmd,
+};
+
+pub use verify::VerifyCmd;
+pub use version::VersionCmd;