commands

package
v1.29.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: GPL-3.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

func Runner

func Runner(f func(ctx context.Context) error) func(c *cobra.Command, args []string)

func RunnerWithArgs

func RunnerWithArgs(f func(ctx context.Context, args []string) error) func(c *cobra.Command, args []string)

Types

type Job added in v1.18.0

type Job struct {
	Dir      string
	Filename string
}

type PackageJson

type PackageJson struct {
	Name            string                 `json:"name"`
	Description     string                 `json:"description"`
	Repository      *PackageJsonRepository `json:"repository"`
	Scripts         map[string]string      `json:"scripts"`
	Dependencies    map[string]string      `json:"dependencies"`
	DevDependencies map[string]string      `json:"devDependencies"`
}

type PackageJsonRepository

type PackageJsonRepository struct {
	Type string `json:"type"`
	Url  string `json:"url"`
}

type VersionBumpInfo

type VersionBumpInfo struct {
	Name        string
	Version     string
	Description string
	ReleaseName string
	Prerelease  string
}

Jump to

Keyboard shortcuts

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