1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-04 01:24:09 +02:00

command help

This commit is contained in:
Robin Appelman 2025-09-01 18:17:06 +02:00
commit f928547ac2
6 changed files with 350 additions and 106 deletions

View file

@ -67,6 +67,10 @@ impl FromStr for PhpVersion {
}
impl PhpVersion {
pub fn supported_versions() -> &'static [&'static str] {
&["8.1", "8.2", "8.3", "8.4"]
}
pub fn image(&self) -> &'static str {
// for now only 7.4
match self {