Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdCreate ¶
Types ¶
type CreateOptions ¶
type CreateOptions struct {
IO *iostreams.IOStreams
Config func() (gh.Config, error)
HttpClient func() (*http.Client, error)
GitClient *git.Client
BaseRepo func() (ghrepo.Interface, error)
Edit func(string, string, string, io.Reader, io.Writer, io.Writer) (string, error)
Prompter iprompter
TagName string
Target string
Name string
Body string
BodyProvided bool
Draft bool
Prerelease bool
IsLatest *bool
Assets []*shared.AssetForUpload
// for interactive flow
SubmitAction string
// for interactive flow
ReleaseNotesAction string
// the value from the --repo flag
RepoOverride string
// maximum number of simultaneous uploads
Concurrency int
DiscussionCategory string
GenerateNotes bool
NotesStartTag string
VerifyTag bool
NotesFromTag bool
FailOnNoCommits bool
}
Click to show internal directories.
Click to hide internal directories.