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 ¶
- Variables
- func Confirm(buf bytes.Buffer) *exec.Cmd
- func DropAction(strs []string) []string
- func Execute()
- func ExecutePlan(option string) ([]string, error)
- func ExtractResourceNames(input []byte) []string
- func GenTargetCmd(cmd, target string) bytes.Buffer
- func IsNotFound(err error) bool
- func IsYes(reader *bufio.Reader) bool
- func SetVersionInfo(version, commit, date string)
- func SliceToString(slice []string) string
- func TargetCmd(buf bytes.Buffer) *exec.Cmd
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("record not found")
View Source
var S = spinner.New(spinner.CharSets[14], 100*time.Millisecond)
Functions ¶
func DropAction ¶
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 ExtractResourceNames ¶
func GenTargetCmd ¶ added in v0.0.19
func IsNotFound ¶ added in v0.0.19
func SetVersionInfo ¶
func SetVersionInfo(version, commit, date string)
func SliceToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.