Skip to content

Commit

Permalink
feat: expose internal module (#191)
Browse files Browse the repository at this point in the history
* expose internal modules

* expose from internal module

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
  • Loading branch information
oscartbeaumont and amrbashir committed Oct 4, 2022
1 parent 09c0ed6 commit 7c6ea1b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@ mod colors;
mod package_manager;
mod template;

pub mod internal {
//! Re-export of create-tauri-app internals
//!
//! ## Warning
//!
//! This is meant to be used internally only so use at your own risk
//! and expect APIs to break without a prior notice.
pub mod package_manager {
pub use crate::package_manager::*;
}

pub mod template {
pub use crate::template::*;
}
}

pub fn run<I, A>(args: I, bin_name: Option<String>)
where
I: IntoIterator<Item = A>,
Expand Down

0 comments on commit 7c6ea1b

Please sign in to comment.