attachments

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdReleaseAttachmentCreate = cli.Command{
	Name:        "create",
	Aliases:     []string{"c"},
	Usage:       "Create one or more release attachments",
	Description: `Create one or more release attachments`,
	ArgsUsage:   "<release-tag> <asset> [<asset>...]",
	Action:      runReleaseAttachmentCreate,
	Flags:       flags.AllDefaultFlags,
}

CmdReleaseAttachmentCreate represents a sub command of Release Attachments to create a release attachment

View Source
var CmdReleaseAttachmentDelete = cli.Command{
	Name:        "delete",
	Aliases:     []string{"rm"},
	Usage:       "Delete one or more release attachments",
	Description: `Delete one or more release attachments`,
	ArgsUsage:   "<release tag> <attachment name> [<attachment name>...]",
	Action:      runReleaseAttachmentDelete,
	Flags: append([]cli.Flag{
		&cli.BoolFlag{
			Name:    "confirm",
			Aliases: []string{"y"},
			Usage:   "Confirm deletion (required)",
		},
	}, flags.AllDefaultFlags...),
}

CmdReleaseAttachmentDelete represents a sub command of Release Attachments to delete a release attachment

View Source
var CmdReleaseAttachmentList = cli.Command{
	Name:        "list",
	Aliases:     []string{"ls"},
	Usage:       "List Release Attachments",
	Description: "List Release Attachments",
	ArgsUsage:   "<release-tag>",
	Action:      RunReleaseAttachmentList,
	Flags: append([]cli.Flag{
		&flags.PaginationPageFlag,
		&flags.PaginationLimitFlag,
	}, flags.AllDefaultFlags...),
}

CmdReleaseAttachmentList represents a sub command of release attachment to list release attachments

Functions

func RunReleaseAttachmentList

func RunReleaseAttachmentList(_ stdctx.Context, cmd *cli.Command) error

RunReleaseAttachmentList list release attachments

Types

This section is empty.

Jump to

Keyboard shortcuts

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