commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: GPL-3.0 Imports: 42 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 JsonAttributeValue

type JsonAttributeValue struct {
	B    []byte                         `json:",omitempty"`
	BOOL *bool                          `json:",omitempty"`
	BS   [][]byte                       `json:",omitempty"`
	L    []*JsonAttributeValue          `json:",omitempty"`
	M    map[string]*JsonAttributeValue `json:",omitempty"`
	N    *string                        `json:",omitempty"`
	NS   []*string                      `json:",omitempty"`
	NULL *bool                          `json:",omitempty"`
	S    *string                        `json:",omitempty"`
	SS   []*string                      `json:",omitempty"`
}

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