use crate::cli::Issue2Work; use crate::config::Config; use crate::error::GeneralError; use url::Url; pub mod issue2work; pub mod utils; pub trait Issue2WorkActionTrait { fn run( &self, url: &Url, config: &Config, args: &Issue2Work, ) -> impl std::future::Future> + Send; fn supports(&self, url: &Url, config: &Config, args: &Issue2Work) -> bool; } pub struct Issue2WorkResult { pub work_package_url: String, pub subject: String, }