Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateOptions ¶
type CreateOptions struct { ProjectName string `long:"project-name" usage:"Set the project name to the template"` LibraryName string `long:"library-name" usage:"Set the library name to the template"` LibraryKName string `long:"library-kname" usage:"Set the library kname to the template"` Version string `long:"version" short:"v" usage:"Set the library version to the template"` Description string `long:"description" usage:"Set the description to the template"` AuthorName string `long:"author-name" usage:"Set the author name to the template"` AuthorEmail string `long:"author-email" usage:"Set the author email to the template"` InitialBranch string `long:"initial-branch" usage:"Set the initial branch name to the template"` CopyrightHolder string `long:"copyright-holder" usage:"Set the copyright holder name to the template"` Origin string `long:"origin" usage:"Source code origin URL"` NoProvideCMain bool `long:"no-provide-c-main" usage:"Do not provide C main to the template"` GitInit bool `long:"git-init" usage:"Init git through the creating library"` WithPatchdir bool `long:"patch-dir" usage:"provide patch directory to the template"` UpdateRefs bool `long:"update-refs" usage:"Softly pack the component so that it is available via kraft list"` ProjectPath string `long:"project-path" usage:"Where to create library"` }
Click to show internal directories.
Click to hide internal directories.