pub fn execute_application(cli: Cli) -> Result<()>
Executes the application.
Returns an error if the execution of the application failed at any point.