cmd

package
v0.0.0-...-a5334b5 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

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 IdentifyLicense

func IdentifyLicense(classifier *licenseclassifier.License, content string) (string, float64)

func LoadGitHubAccessTokenFromDefaultLocation

func LoadGitHubAccessTokenFromDefaultLocation() (string, error)

Types

type FailedModule

type FailedModule struct {
	Module string
	Error  error
}

type GitHubRepo

type GitHubRepo struct {
	Owner string
	Name  string
}

type Module

type Module struct {
	Path string
}

type ResolvedModule

type ResolvedModule struct {
	Module string
	Repo   GitHubRepo
}

Jump to

Keyboard shortcuts

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