Documentation ¶
Index ¶
- Variables
- type CatCmd
- func (cmd CatCmd) ArgParser() *argparser.ArgParser
- func (cmd CatCmd) CreateMarkdown(wr io.Writer, commandStr string) error
- func (cmd CatCmd) Description() string
- func (cmd CatCmd) EventType() eventsapi.ClientEventType
- func (cmd CatCmd) Exec(ctx context.Context, commandStr string, args []string, dEnv *env.DoltEnv) int
- func (cmd CatCmd) GatedForNBF(nbf *types.NomsBinFormat) bool
- func (cmd CatCmd) Name() string
- type ResolveCmd
- func (cmd ResolveCmd) ArgParser() *argparser.ArgParser
- func (cmd ResolveCmd) CreateMarkdown(wr io.Writer, commandStr string) error
- func (cmd ResolveCmd) Description() string
- func (cmd ResolveCmd) EventType() eventsapi.ClientEventType
- func (cmd ResolveCmd) Exec(ctx context.Context, commandStr string, args []string, dEnv *env.DoltEnv) int
- func (cmd ResolveCmd) GatedForNBF(nbf *types.NomsBinFormat) bool
- func (cmd ResolveCmd) Name() string
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = cli.NewSubCommandHandler("conflicts", "Commands for viewing and resolving merge conflicts.", []cli.Command{ CatCmd{}, ResolveCmd{}, })
Functions ¶
This section is empty.
Types ¶
type CatCmd ¶
type CatCmd struct{}
func (CatCmd) CreateMarkdown ¶
CreateMarkdown creates a markdown file containing the helptext for the command at the given path
func (CatCmd) Description ¶
Description returns a description of the command
func (CatCmd) EventType ¶
func (cmd CatCmd) EventType() eventsapi.ClientEventType
EventType returns the type of the event to log
func (CatCmd) Exec ¶
func (cmd CatCmd) Exec(ctx context.Context, commandStr string, args []string, dEnv *env.DoltEnv) int
Exec executes the command
func (CatCmd) GatedForNBF ¶
func (cmd CatCmd) GatedForNBF(nbf *types.NomsBinFormat) bool
type ResolveCmd ¶
type ResolveCmd struct{}
func (ResolveCmd) ArgParser ¶
func (cmd ResolveCmd) ArgParser() *argparser.ArgParser
func (ResolveCmd) CreateMarkdown ¶
func (cmd ResolveCmd) CreateMarkdown(wr io.Writer, commandStr string) error
CreateMarkdown creates a markdown file containing the helptext for the command at the given path
func (ResolveCmd) Description ¶
func (cmd ResolveCmd) Description() string
Description returns a description of the command
func (ResolveCmd) EventType ¶
func (cmd ResolveCmd) EventType() eventsapi.ClientEventType
EventType returns the type of the event to log
func (ResolveCmd) Exec ¶
func (cmd ResolveCmd) Exec(ctx context.Context, commandStr string, args []string, dEnv *env.DoltEnv) int
Exec executes the command
func (ResolveCmd) GatedForNBF ¶
func (cmd ResolveCmd) GatedForNBF(nbf *types.NomsBinFormat) bool
func (ResolveCmd) Name ¶
func (cmd ResolveCmd) Name() string
Name is returns the name of the Dolt cli command. This is what is used on the command line to invoke the command
Click to show internal directories.
Click to hide internal directories.