Add godoc comments to exported symbols in pkg/cmd/gist

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-03-04 16:08:04 -07:00
parent 7618024294
commit 83bc80a1bb
9 changed files with 28 additions and 0 deletions

View file

@ -16,6 +16,7 @@ import (
"github.com/spf13/cobra"
)
// DeleteOptions holds the options for the gist delete command.
type DeleteOptions struct {
IO *iostreams.IOStreams
Config func() (gh.Config, error)
@ -26,6 +27,7 @@ type DeleteOptions struct {
Confirmed bool
}
// NewCmdDelete creates the gist delete command.
func NewCmdDelete(f *cmdutil.Factory, runF func(*DeleteOptions) error) *cobra.Command {
opts := DeleteOptions{
IO: f.IOStreams,