Documentation
¶
Index ¶
- type BookmarkCommand
- func (cmd *BookmarkCommand) AddCommand(value common.ICommand) *BookmarkCommand
- func (cmd *BookmarkCommand) Arguments() []cli.Argument
- func (cmd *BookmarkCommand) Category() string
- func (cmd *BookmarkCommand) Command() *cli.Command
- func (cmd *BookmarkCommand) Description() string
- func (cmd *BookmarkCommand) Flags() []cli.Flag
- func (cmd *BookmarkCommand) GetCommands() []common.ICommand
- func (cmd *BookmarkCommand) Name() string
- func (cmd *BookmarkCommand) Run(context.Context, *cli.Command) error
- func (cmd *BookmarkCommand) Usage() string
- type RenderCommand
- func (cmd *RenderCommand) Arguments() []cli.Argument
- func (cmd *RenderCommand) Command() *cli.Command
- func (cmd *RenderCommand) Description() string
- func (cmd *RenderCommand) Flags() []cli.Flag
- func (cmd *RenderCommand) Name() string
- func (cmd *RenderCommand) Run(ctx context.Context, args *cli.Command) error
- func (cmd *RenderCommand) Usage() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BookmarkCommand ¶
type BookmarkCommand struct {
// contains filtered or unexported fields
}
BookmarkCommand represents the bookmark command
func NewBookmarkCommand ¶
NewBookmarkCommand creates a new instance of the BookmarkCommand.
func (*BookmarkCommand) AddCommand ¶
func (cmd *BookmarkCommand) AddCommand(value common.ICommand) *BookmarkCommand
AddCommand adds a new subcommand to the bookmark command.
func (*BookmarkCommand) Arguments ¶
func (cmd *BookmarkCommand) Arguments() []cli.Argument
Arguments returns the command arguments.
func (*BookmarkCommand) Category ¶
func (cmd *BookmarkCommand) Category() string
Category returns the category of the bookmark command.
func (*BookmarkCommand) Command ¶
func (cmd *BookmarkCommand) Command() *cli.Command
Command returns the command of the bookmark command.
func (*BookmarkCommand) Description ¶
func (cmd *BookmarkCommand) Description() string
Description returns the description of the bookmark command.
func (*BookmarkCommand) Flags ¶
func (cmd *BookmarkCommand) Flags() []cli.Flag
Flags returns the flags of the bookmark command.
func (*BookmarkCommand) GetCommands ¶
func (cmd *BookmarkCommand) GetCommands() []common.ICommand
GetCommands returns the subcommands of the bookmark command.
func (*BookmarkCommand) Name ¶
func (cmd *BookmarkCommand) Name() string
Name returns the name of the bookmark command.
func (*BookmarkCommand) Usage ¶
func (cmd *BookmarkCommand) Usage() string
Usage returns the usage of the bookmark command.
type RenderCommand ¶
type RenderCommand struct {
// contains filtered or unexported fields
}
RenderCommand represents the command to render a template.
func NewRenderCommand ¶
NewRenderCommand creates a new instance of RenderCommand.
func (*RenderCommand) Arguments ¶
func (cmd *RenderCommand) Arguments() []cli.Argument
Arguments returns the command arguments.
func (*RenderCommand) Command ¶
func (cmd *RenderCommand) Command() *cli.Command
Command returns the command.
func (*RenderCommand) Description ¶
func (cmd *RenderCommand) Description() string
Description returns the description of the command.
func (*RenderCommand) Flags ¶
func (cmd *RenderCommand) Flags() []cli.Flag
Flags returns the flags of the command.
func (*RenderCommand) Name ¶
func (cmd *RenderCommand) Name() string
Name returns the name of the command.
func (*RenderCommand) Usage ¶
func (cmd *RenderCommand) Usage() string
Usage returns the usage of the command.