cmd

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package cmd provides all the commands for the kiterunner binary.

The commands are separated by file, with the prefix for each command corresponding to the parent command, i.e. kitebuilderCompile.go corresponds to kb compile

there are a few global CLI flags that can be used to configure how kiterunner will operate. These are defined by the globally exposed variables

The server can be started up across multiple ports to provide the simulation of scanning multiple hosts

Usage

go run ./cmd/testServer -p 14000-14500

Index

Constants

This section is empty.

Variables

View Source
var (
	Verbose string // Verbose defines the logging level, either trace, debug, info, error, fatal
	Output  string // Output defines the output format, either pretty, text, json
	Quiet   bool   // Quiet will hide the beautiful ascii art upon startup

)

These global variables can be configured with the corresponding lowercase flag

View Source
var (
	Version = "v0.0.0"
	Commit  = "commit"
	Date    = "today"
)

These global variables are injected at build time to provide the version command

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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