cmd

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package cmd contains all CLI commands used by the application.

Index

Constants

View Source
const (
	MinSource int = 2 // MinSource is the minimum number of items to pick from
)

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 NewOneCommand added in v0.0.1

func NewOneCommand() *cobra.Command

NewOneCommand returns the one command for the CLI.

func NewRootCommand

func NewRootCommand() *cobra.Command

NewRootCommand returns the root command for the CLI.

Types

This section is empty.

Jump to

Keyboard shortcuts

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