codeberg-cli 0.5.5

CLI Tool for codeberg similar to gh and glab
Documentation
use forgejo_api::Forgejo;

use std::ops::Deref;
use std::ops::DerefMut;

pub struct BergClient(pub(crate) Forgejo);

impl Deref for BergClient {
    type Target = Forgejo;

    fn deref(&self) -> &Self::Target {
        &self.0
    }
}

impl DerefMut for BergClient {
    fn deref_mut(&mut self) -> &mut Self::Target {
        &mut self.0
    }
}