cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Copyright © 2022 KAI CHU CHUNG <cage.chung@gmail.com>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArgJSONBuilder

func ArgJSONBuilder(op string, files []string, base string) string

func CheckForUpdate

func CheckForUpdate()

func ErrorHandle

func ErrorHandle(err error)

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.

Types

type Arg

type Arg struct {
	Op    string   `json:"op"`
	Files []string `json:"files"`
	Base  string   `json:"base"`
}

Jump to

Keyboard shortcuts

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