shared-context-engineering 0.3.0

Shared Context Engineering CLI
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::services::config;
use crate::services::error::ClassifiedError;

pub struct ConfigCommand {
    pub subcommand: config::ConfigSubcommand,
}

impl ConfigCommand {
    pub fn execute<C>(&self, _context: &C) -> Result<String, ClassifiedError> {
        config::run_config_subcommand(self.subcommand.clone())
            .map_err(|error| ClassifiedError::runtime(format!("{error:#}")))
    }
}