cuddle-please-frontend 0.1.0

A release-please inspired release manager tool, built on top of cuddle, but also useful standalone, cuddle-please supports, your ci of choice, as well as gitea, github
Documentation
use serde::Deserialize;

use crate::stage0_config::PleaseConfigBuilder;

pub fn get_config_from_stdin<'d, T>(stdin: &'d str) -> PleaseConfigBuilder
where
    T: Deserialize<'d>,
    T: Into<PleaseConfigBuilder>,
{
    match serde_yaml::from_str::<'d, T>(stdin) {
        Ok(config) => {
            return config.into();
        }
        Err(e) => {
            tracing::debug!("stdin doesn't contain a valid please config: {}", e);
        }
    }
    PleaseConfigBuilder::default()
}