add test routine to print environment variables

This commit is contained in:
bunnie 2025-11-06 13:54:59 +08:00
parent bab29616aa
commit e737948a2d

View file

@ -33,6 +33,9 @@ impl<'a> ShellCmdApi<'a> for Test {
} }
} }
} }
"env" => {
log::info!("{:?}", std::env::vars());
}
_ => { _ => {
write!(ret, "{}", helpstring).unwrap(); write!(ret, "{}", helpstring).unwrap();
} }