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), }