pub fn init_command( info: &CliInfo<'_>, name: &str, generate_key: impl FnOnce() -> String, ) -> Result<()>