Function server_forge::utils::generate_report
source · pub fn generate_report(config: &Config) -> Result<(), Box<dyn Error>>
Expand description
Generates a report of the server setup.
This function creates a text file report containing details of the server configuration, deployed applications, firewall rules, and system information.
§Arguments
config
- A reference to theConfig
struct containing the server configuration
§Returns
Returns Ok(())
if the report is generated successfully, or an error if generation fails.