pub fn expand_flags(
flags: &[String],
cache: &FlagCache,
command: Option<&str>,
) -> Vec<String>Expand description
Expand a list of flags with their aliases from the cache.
Given ["--force"] and a cache with --force → -f, returns ["--force", "-f"].