Documentation
¶
Index ¶
Constants ¶
View Source
const ( FlagAuthor = "author" FlagTitle = "title" FlagDescription = "description" FlagReleaseNotes = "releaseNotes" FlagReleaseNotesFile = "releaseNotesFile" )
Variables ¶
This section is empty.
Functions ¶
func GenerateNuSpec ¶
func GenerateNuSpec(opts *NuPkgCreateOptions) (string, error)
func PromptMissing ¶
func PromptMissing(opts *NuPkgCreateOptions) error
Types ¶
type NuPkgCreateFlags ¶
type NuPkgCreateFlags struct {
Author *flag.Flag[[]string] // this need to be multiple and default to current user
Title *flag.Flag[string]
Description *flag.Flag[string]
ReleaseNotes *flag.Flag[string]
ReleaseNotesFile *flag.Flag[string]
}
func NewNuPkgCreateFlags ¶
func NewNuPkgCreateFlags() *NuPkgCreateFlags
type NuPkgCreateOptions ¶
type NuPkgCreateOptions struct {
*NuPkgCreateFlags
*pack.PackageCreateOptions
}
Click to show internal directories.
Click to hide internal directories.