add flags to root.go

This commit is contained in:
Alvaro Muñoz
2023-04-24 16:26:25 +02:00
parent d60ef906fe
commit 4566a4d744
2 changed files with 14 additions and 16 deletions

View File

@@ -30,6 +30,20 @@ import (
"github.com/spf13/cobra"
)
var (
sessionNameFlag string
outputDirFlag string
downloadDBsFlag bool
nwoFlag string
jsonFlag bool
languageFlag string
listFileFlag string
listFlag string
codeqlPathFlag string
controllerFlag string
queryFileFlag string
querySuiteFileFlag string
)
var rootCmd = &cobra.Command{
Use: "gh-mrva",
Short: "Run CodeQL queries at scale using GitHub's Multi-Repository Variant Analysis (MRVA)",