INNER CODE UNIT · Go
init
Legit-Labs/legitify · cmd/analyze_gpt.go:12
func init() {
rootCmd.AddCommand(newAnalyzeGptCommand())
}
var analyzeGptArgs args
const argOpenAiToken = "openai_token"
func newAnalyzeGptCommand() *cobra.Command {
analyzeCmd := &cobra.Command{
Use: "gpt-analysis",
Short: `Analyze your GitHub/GitLab assets for security issues with GPT`,
RunE: executeAnalyzeGPTCommand,
SilenceUsage: true,
}
flags := analyzeCmd.Flags()