cmd

package
v1.9.11 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: MPL-2.0 Imports: 43 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalysisJava

func AnalysisJava() []core_domain.CodeDataStruct

func CheckError

func CheckError(message string, err error)

func NewRootCmd

func NewRootCmd(out io.Writer) *cobra.Command

func Percent

func Percent(pcent int, all int) string

func Rate

func Rate(pcent int, all int) string

func WriteCallMap

func WriteCallMap(rcallMap map[string][]string)

func WriteToCsv

func WriteToCsv(data [][]string, fileName string)

Types

type AnalysisCmdConfig

type AnalysisCmdConfig struct {
	Path           string
	UpdateIdentify bool
}

type ApiCmdConfig

type ApiCmdConfig struct {
	Path               string
	DependencePath     string
	ShowCount          bool
	RemovePackageNames string
	AggregateApi       string
	ForceUpdate        bool
	Sort               bool
}

type ArchCmdConfig

type ArchCmdConfig struct {
	DependencePath string
	IsMergePackage bool
	FilterString   string
	IsMergeHeader  bool
	WithVisual     bool
}

type BsCmdConfig

type BsCmdConfig struct {
	Path string
}

type CallCmdConfig

type CallCmdConfig struct {
	Path       string
	ClassName  string
	RemoveName string
	Lookup     bool
}

type CocaClocConfig

type CocaClocConfig struct {
	ByDirectory bool
	TopFile     bool
	TopSizes    int
}

type CountCmdConfig

type CountCmdConfig struct {
	DependencePath string
	Top            int
}

type EvaluateConfig

type EvaluateConfig struct {
	DependencePath string
}

type GitCmdConfig

type GitCmdConfig struct {
	Size        int
	ShowSummary bool
}

type ReverseCmdConfig

type ReverseCmdConfig struct {
	DependencePath string
	ClassName      string
	RemovePackage  string
}

type RootCmdConfig

type RootCmdConfig struct {
	Path       string
	WithGit    bool
	Extensions string
}

type TbsCmdConfig

type TbsCmdConfig struct {
	Path   string
	IsSort bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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