func ParseOptions(options *types.Options) {
	configureOutput(options)
	showBanner()
	if options.Version {
		gologger.Info().Msgf("Current Version: %s\n", Version)
		os.Exit(0)
	}
	if err := validateOptions(options); err != nil {
		gologger.Fatal().Msgf("Program exiting: %s\n", err)
	}
}
ParseOptions parses the command line flags provided by a user
package runner
import (
	"errors"
	"os"
	"github.com/projectdiscovery/collaborator/pkg/types"
	"github.com/projectdiscovery/gologger"
	"github.com/projectdiscovery/gologger/levels"
)