1use vs_shell::ShellKind; 2 3use crate::{App, CoreError}; 4 5impl App { 6 /// Renders hidden shell hook output. 7 pub fn hook_env(&self, shell: &str) -> Result<String, CoreError> { 8 let shell = ShellKind::parse(shell)?; 9 self.render_hook_env(shell) 10 } 11}