()
| 258 | // and `git-lab` |
| 259 | impl clap::ValueEnum for RepositoryProvider { |
| 260 | fn value_variants<'a>() -> &'a [Self] { |
| 261 | &[Self::GitLab, Self::GitHub] |
| 262 | } |
| 263 | fn to_possible_value<'a>(&self) -> ::std::option::Option<clap::builder::PossibleValue> { |
| 264 | match self { |
| 265 | Self::GitLab => Some(clap::builder::PossibleValue::new("gitlab").aliases(["gl"])), |
nothing calls this directly
no outgoing calls
no test coverage detected