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