pub fn export_command( locator: &TargetLocator, session_id: &str, spec_path: &str, ) -> Result<CommandSpec>