pub fn execute_command(command: Option<&Commands>) -> Result<()>
Execute the linting command
Returns an error if any linter fails.