cmd

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Copyright © 2023 orangekame3 <miya.org.0309@gmai.com>

Copyright © 2023 orangekame3 <miya.org.0309@gmai.com>

Copyright © 2023 orangekame3 <miya.org.0309@gmai.com>

Copyright © 2023 orangekame3 <miya.org.0309@gmai.com>

Copyright © 2023 orangekame3 <miya.org.0309@gmai.com>

Copyright © 2023 orangekame3 <miya.org.0309@gmai.com>

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("record not found")

Functions

func Confirm added in v0.0.17

func Confirm(buf bytes.Buffer) *exec.Cmd

func DropAction

func DropAction(strs []string) []string

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 ExecutePlan added in v0.0.17

func ExecutePlan(option string) ([]string, error)

func ExtractResourceNames

func ExtractResourceNames(input []byte) []string

func GenTargetCmd added in v0.0.19

func GenTargetCmd(cmd, target string) bytes.Buffer

func IsNotFound added in v0.0.19

func IsNotFound(err error) bool

func IsYes added in v0.0.17

func IsYes(reader *bufio.Reader) bool

func SetVersionInfo

func SetVersionInfo(version, commit, date string)

func SliceToString

func SliceToString(slice []string) string

func TargetCmd added in v0.0.19

func TargetCmd(buf bytes.Buffer) *exec.Cmd

Types

This section is empty.

Jump to

Keyboard shortcuts

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