cmd

package
v0.0.0-...-ef0e789 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Overview

Package cmd is the entry points for the command-line interface (CLI) of the `devsec-tools` application. Each package in this directory is a sub-command of the CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetLogger

func GetLogger(fVerbose int, fJSON bool) *log.Logger

func GetValkeyCacheClient

func GetValkeyCacheClient() (*vk.Client, *cache.Cache[string], error)

func NewTable

func NewTable(headers ...string) *table.Table

Types

type ErrorResponse

type ErrorResponse struct {
	Message string `json:"error"`
}

type InputRequest

type InputRequest struct {
	URL string `json:"url"`
}

Jump to

Keyboard shortcuts

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