git_mover/lib.rs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
//! # git-mover
//!
//! Move git repositories to a new location
//!
//! ## Usage
//!
//! ```txt
//! Usage: git-mover [OPTIONS]
//! Options:
//! -s, --source <SOURCE> The source platform (github, gitlab, codeberg) [aliases: from]
//! -d, --destination <DESTINATION> The destination platform (github, gitlab, codeberg) [aliases: to]
//! -n, --no-forks Don't sync forked repositories
//! -c, --config <CONFIG> Custom configuration file
//! -v, --verbose... Verbose mode (-v, -vv, -vvv)
//! -h, --help Print help
//! ```
#![deny(
missing_docs,
clippy::all,
clippy::missing_docs_in_private_items,
clippy::missing_errors_doc,
clippy::missing_panics_doc,
clippy::cargo
)]
#![warn(clippy::multiple_crate_versions)]
pub(crate) mod cli;
pub(crate) mod config;
pub(crate) mod errors;
pub(crate) mod macros;
pub(crate) mod platform;
pub(crate) mod sync;
pub(crate) mod utils;
pub(crate) use macros::config_value;
pub(crate) use macros::config_value_wrap;
mod codeberg;
mod github;
mod gitlab;
pub use cli::cli_main;
pub use config::Config;
pub use utils::main_sync;