command

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUtilities

func GetUtilities(client *github.Client, issue int) ([]markdown.Section, error)

func SaveOperation

func SaveOperation()

func UploadResult

func UploadResult(client *github.Client, issue int, filepath string, offset int64) (string, int64, error)

UploadResult uploads the content as a formatted comment to the given issue. The content will be read from the specified file with the given offset. If removeEscSequences is true, it will remove ANSI escape sequences from the content. Returns the sum of the offset and the length of the content read

Types

type Operation

type Operation struct {
	Body     string   `json:"body"`
	Commands []string `json:"commands"`
}

func GetOperation

func GetOperation(client *github.Client, issue int) (*Operation, error)

func LoadOperation

func LoadOperation(filepath string) (*Operation, error)

Jump to

Keyboard shortcuts

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