ft-cli 0.1.0

ft-cli is a tool for syncing a git repo or a local folder to a FifthTry account
mod config;
pub mod error;
mod ftd;
pub mod git;
mod id;
mod mdbook;
mod raw;
pub mod status;
pub mod sync;
pub mod traverse;
pub mod types;
mod utils;

pub use crate::config::Config;
pub use error::Error;
pub use status::status;
pub use sync::sync;
pub use types::{Auth, Backend, FileMode, Result, SyncMode, User};

#[cfg(test)]
mod tests {

    #[test]
    fn fbt() {
        if fbt_lib::main().is_some() {
            panic!("test failed")
        }
    }
}

pub fn is_test() -> bool {
    std::env::args().any(|e| e == "--test")
}