From 24c080d85bd4eb9dd4943e06903e2f152f739fb1 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Tue, 14 May 2024 15:13:11 +1000 Subject: [PATCH] Make CLI component pub accessible --- src/cli/mod.rs | 8 ++++---- src/cli/types.rs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/cli/mod.rs b/src/cli/mod.rs index f8da43ad..1fea239c 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -1,7 +1,7 @@ -mod decode; -mod encode; -mod guess; -mod types; +pub mod decode; +pub mod encode; +pub mod guess; +pub mod types; mod version; use clap::{Parser, Subcommand, ValueEnum}; diff --git a/src/cli/types.rs b/src/cli/types.rs index a0ad2790..59e87ea2 100644 --- a/src/cli/types.rs +++ b/src/cli/types.rs @@ -1,4 +1,4 @@ -mod list; +pub mod list; use clap::{Args, Subcommand}; @@ -12,7 +12,7 @@ pub struct Cmd { } #[derive(Subcommand, Clone, Debug)] -pub enum Sub { +enum Sub { List(list::Cmd), }