commands

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 15 Imported by: 0

README

commands

import "github.com/eunomie/dague/cmd/docker-dague/commands"

Index

func Fmt

func Fmt(conf *config.Dague) *cobra.Command

func FmtCommands

func FmtCommands(conf *config.Dague) []*cobra.Command

FmtCommands contains all commands related to code formatting

func FmtPrint

func FmtPrint(conf *config.Dague) *cobra.Command

FmtPrint is a command to print the result of Go formatter. Files will not be modified.

func FmtWrite

func FmtWrite(conf *config.Dague) *cobra.Command

FmtWrite is a command to write to the existing files the result of the Go formatter.

func GoBuild

func GoBuild(conf *config.Dague) *cobra.Command

GoBuild is a command to build a Go binary based on the local architecture.

func GoCommands

func GoCommands(conf *config.Dague) []*cobra.Command

GoCommands contains all commands related to Go like modules management or build.

func GoDeps

func GoDeps(conf *config.Dague) *cobra.Command

GoDeps is a command to download go modules.

func GoDoc

func GoDoc(conf *config.Dague) *cobra.Command

GoDoc is a command generating Go documentation into readme.md files.

func GoImports

func GoImports(conf *config.Dague) *cobra.Command

func GoMod

func GoMod(conf *config.Dague) *cobra.Command

GoMod is a command to run go mod tidy and export go.mod and go.sum files.

func GoTest

func GoTest(conf *config.Dague) *cobra.Command

GoTest is a command running Go tests.

func Lint

func Lint(conf *config.Dague) *cobra.Command

Lint is a command running all configured linters.

func LintCommands

func LintCommands(conf *config.Dague) []*cobra.Command

LintCommands contains all commands related to linters.

func LintGolangCILint

func LintGolangCILint(conf *config.Dague) *cobra.Command

func LintGovuln

func LintGovuln(conf *config.Dague) *cobra.Command

LintGovuln is a command running govulncheck against the Go source code.

func Version

func Version() *cobra.Command

func VersionCommands

func VersionCommands(_ *config.Dague) []*cobra.Command

func interpretShell

func interpretShell(ctx context.Context, cmd string, env map[string]string) (string, error)

type goDocOptions

type goDocOptions struct {
    check bool
}

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fmt added in v0.5.1

func Fmt(conf *config.Dague) *cobra.Command

func FmtCommands

func FmtCommands(conf *config.Dague) []*cobra.Command

FmtCommands contains all commands related to code formatting

func FmtPrint

func FmtPrint(conf *config.Dague) *cobra.Command

FmtPrint is a command to print the result of Go formatter. Files will not be modified.

func FmtWrite

func FmtWrite(conf *config.Dague) *cobra.Command

FmtWrite is a command to write to the existing files the result of the Go formatter.

func GoBuild

func GoBuild(conf *config.Dague) *cobra.Command

GoBuild is a command to build a Go binary based on the local architecture.

func GoCommands

func GoCommands(conf *config.Dague) []*cobra.Command

GoCommands contains all commands related to Go like modules management or build.

func GoDeps

func GoDeps(conf *config.Dague) *cobra.Command

GoDeps is a command to download go modules.

func GoDoc

func GoDoc(conf *config.Dague) *cobra.Command

GoDoc is a command generating Go documentation into readme.md files.

func GoImports added in v0.5.1

func GoImports(conf *config.Dague) *cobra.Command

func GoMod

func GoMod(conf *config.Dague) *cobra.Command

GoMod is a command to run go mod tidy and export go.mod and go.sum files.

func GoTest

func GoTest(conf *config.Dague) *cobra.Command

GoTest is a command running Go tests.

func Lint added in v0.5.1

func Lint(conf *config.Dague) *cobra.Command

Lint is a command running all configured linters.

func LintCommands

func LintCommands(conf *config.Dague) []*cobra.Command

LintCommands contains all commands related to linters.

func LintGolangCILint added in v0.5.1

func LintGolangCILint(conf *config.Dague) *cobra.Command

func LintGovuln

func LintGovuln(conf *config.Dague) *cobra.Command

LintGovuln is a command running govulncheck against the Go source code.

func Version

func Version() *cobra.Command

func VersionCommands

func VersionCommands(_ *config.Dague) []*cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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