rotate_backup 0.1.2

Rotate you backups easily
Documentation
use crate::prelude::rotate::*;
use crate::prelude::*;
use alloc::format;
use alloc::string::String;
use alloc::{vec, vec::Vec};
use anyhow::Context;
use chrono::NaiveDate;

#[cfg(feature = "std")]
use std::path::PathBuf;
#[cfg(not(feature = "std"))]
type PathBuf = String;
use crate::execute::debug::DebugCommand;
#[cfg(feature = "std")]
use std::path::Path;

#[cfg(not(feature = "std"))]
type Path = str;

#[cfg(not(feature = "std"))]
type OsStr = String;

pub mod debug;
pub mod rotate;

#[cfg_attr(feature = "cli", derive(clap::Parser))]
pub struct MainCommand {
    #[cfg_attr(feature = "cli", command(subcommand))]
    pub sub_commands: SubCommands,
}

#[cfg_attr(feature = "cli", derive(clap::Subcommand))]
pub enum SubCommands {
    Rotate(RotateCommand),
    Debug(DebugCommand),
}