Trait golem_cli::template::TemplateHandler
source · pub trait TemplateHandler {
// Required methods
fn handle<'life0, 'async_trait>(
&'life0 self,
subcommand: TemplateSubcommand
) -> Pin<Box<dyn Future<Output = Result<GolemResult, GolemError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn resolve_id<'life0, 'async_trait>(
&'life0 self,
reference: TemplateIdOrName
) -> Pin<Box<dyn Future<Output = Result<RawTemplateId, GolemError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}