Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFileFlags ¶
func AddFileFlags(cmd *cobra.Command, o *FileOption)
func AddOutputFlags ¶
func AddOutputFlags(cmd *cobra.Command, o *OutputOption)
func AddProjectFlags ¶
func AddProjectFlags(cmd *cobra.Command, o *ProjectOption)
func MarkFileFlagAsMandatory ¶
Types ¶
type FileOption ¶
type FileOption struct {
File string
}
type OutputOption ¶
type OutputOption struct {
Output string
}
func (*OutputOption) Complete ¶
func (o *OutputOption) Complete() error
type ProjectOption ¶
type ProjectOption struct {
Project string
}
func (*ProjectOption) Complete ¶
func (o *ProjectOption) Complete() error
Complete will fill the attribute ProjectOption.Project.
Click to show internal directories.
Click to hide internal directories.