cmd

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: MIT Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DockerCommand added in v0.15.1

func DockerCommand(name, image string, labels map[string]string) *cobra.Command

func Install

func Install() *cobra.Command

Install required assets.

func Run

func Run() *cobra.Command

Run is a subcommand to run a single task.

func Workflow

func Workflow() *cobra.Command

Workflow is a subcommand to run a forensic workflow.

Types

type CommandTemplate added in v0.14.0

type CommandTemplate struct {
	*cobra.Command
	Arguments JSONSchema `json:"arguments,omitempty"`
}

type JSONSchema added in v0.14.0

type JSONSchema struct {
	Properties map[string]Property `json:"properties,omitempty"`
	Required   []string            `json:"required,omitempty"`
}

type Property added in v0.14.0

type Property struct {
	Type        string      `json:"type,omitempty"`
	Description string      `json:"description,omitempty"`
	Default     interface{} `json:"default,omitempty"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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