commands

package
v0.0.0-...-a838a9a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureCommand

func ConfigureCommand() *cobra.Command

ConfigureCommand creates a new configure command

func FillDBCommand

func FillDBCommand() *cobra.Command

FillDBCommand creates a new fill-db command

func FindNewCvesCommand

func FindNewCvesCommand() *cobra.Command

FindNewCvesCommand creates a new find-new-cves command

func HelpCommand

func HelpCommand() *cobra.Command

HelpCommand creates a new help command

func UpdateTrackedDepsCommand

func UpdateTrackedDepsCommand() *cobra.Command

UpdateTrackedDepsCommand creates a new update-tracked-deps command

Types

type Config

type Config struct {
	DbUri           string `yaml:"db_uri"`
	NvdNistApiKey   string `yaml:"nvd_nist_api_key"`
	SlackWebhookUrl string `yaml:"slack_webhook_url"`
}

Config structure to hold configuration values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL