dotcli

package
v0.0.0-...-a74c306 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllDstNodes

func GetAllDstNodes(graph *gographviz.Graph, nodeName string) []string

func GetAllSrcNodes

func GetAllSrcNodes(graph *gographviz.Graph, nodeName string) []string

func GetCurrent

func GetCurrent() string

func GetOnlyDirectDstNodes

func GetOnlyDirectDstNodes(graph *gographviz.Graph, nodeName string) []string

func GetOnlyDirectSrcNodes

func GetOnlyDirectSrcNodes(graph *gographviz.Graph, nodeName string) []string

func InitAndExecute

func InitAndExecute()

func RunDepsCommand

func RunDepsCommand(filePath string, nodeName string, srcFlags *SrcFlags) error

func RunDstCommand

func RunDstCommand(filePath string, nodeName string, dstFlags *DstFlags) error

func RunNodesCommand

func RunNodesCommand(filePath string) error

func SetupDstCommand

func SetupDstCommand() *cobra.Command

func SetupNodesCommand

func SetupNodesCommand() *cobra.Command

func SetupSrcCommand

func SetupSrcCommand() *cobra.Command

func SetupVersionCommand

func SetupVersionCommand() *cobra.Command

func String

func String() string

Types

type DstFlags

type DstFlags struct {
	DirectOnly bool
}

type RootFlags

type RootFlags struct {
	LogLevel string
}

func (*RootFlags) SetupRootCommand

func (r *RootFlags) SetupRootCommand() *cobra.Command

type SrcFlags

type SrcFlags struct {
	DirectOnly bool
}

Jump to

Keyboard shortcuts

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