Documentation ¶
Index ¶
- Constants
- func NewDefaultYttCmd() *cobra.Command
- func NewVersionCmd(o *VersionOptions) *cobra.Command
- func NewWebsiteCmd(o *WebsiteOptions) *cobra.Command
- func NewYttCmd(o *YttOptions) *cobra.Command
- func ShowHelp(cmd *cobra.Command, args []string) error
- func ShowSubcommands(cmd *cobra.Command, args []string) error
- type VersionOptions
- type WebsiteOptions
- type YttOptions
Constants ¶
View Source
const (
Version = "0.17.0"
)
Variables ¶
This section is empty.
Functions ¶
func NewDefaultYttCmd ¶
func NewVersionCmd ¶
func NewVersionCmd(o *VersionOptions) *cobra.Command
func NewWebsiteCmd ¶ added in v0.12.0
func NewWebsiteCmd(o *WebsiteOptions) *cobra.Command
func NewYttCmd ¶
func NewYttCmd(o *YttOptions) *cobra.Command
Types ¶
type VersionOptions ¶
type VersionOptions struct{}
func NewVersionOptions ¶
func NewVersionOptions() *VersionOptions
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
type WebsiteOptions ¶ added in v0.12.0
func NewWebsiteOptions ¶ added in v0.12.0
func NewWebsiteOptions() *WebsiteOptions
func (*WebsiteOptions) Run ¶ added in v0.12.0
func (o *WebsiteOptions) Run() error
func (*WebsiteOptions) Server ¶ added in v0.12.0
func (o *WebsiteOptions) Server() *website.Server
type YttOptions ¶
type YttOptions struct{}
func NewDefaultYttOptions ¶
func NewDefaultYttOptions() *YttOptions
Click to show internal directories.
Click to hide internal directories.