Documentation ¶
Index ¶
- Constants
- func NewDefaultYttCmd() *cobra.Command
- func NewPlaygroundCmd(o *PlaygroundOptions) *cobra.Command
- func NewVersionCmd(o *VersionOptions) *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 PlaygroundOptions
- type VersionOptions
- type YttOptions
Constants ¶
View Source
const (
Version = "0.2.0"
)
Variables ¶
This section is empty.
Functions ¶
func NewDefaultYttCmd ¶
func NewPlaygroundCmd ¶
func NewPlaygroundCmd(o *PlaygroundOptions) *cobra.Command
func NewVersionCmd ¶
func NewVersionCmd(o *VersionOptions) *cobra.Command
func NewYttCmd ¶
func NewYttCmd(o *YttOptions) *cobra.Command
Types ¶
type PlaygroundOptions ¶
func NewPlaygroundOptions ¶
func NewPlaygroundOptions() *PlaygroundOptions
func (*PlaygroundOptions) Run ¶
func (o *PlaygroundOptions) Run() error
func (*PlaygroundOptions) Server ¶
func (o *PlaygroundOptions) Server() *playground.Server
type VersionOptions ¶
type VersionOptions struct{}
func NewVersionOptions ¶
func NewVersionOptions() *VersionOptions
func (*VersionOptions) Run ¶
func (o *VersionOptions) Run() error
type YttOptions ¶
type YttOptions struct{}
func NewDefaultYttOptions ¶
func NewDefaultYttOptions() *YttOptions
Click to show internal directories.
Click to hide internal directories.