root

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	cmdparser.Cmd
}

Config defines the `sqlcmd config` sub-commands

func (*Config) DefineCommand

func (c *Config) DefineCommand(...cmdparser.CommandOptions)

DefineCommand defines the `sqlcmd config` command, which is only more sub-commands (`sqlcmd config` does not `run` anything itself)

func (*Config) SubCommands

func (c *Config) SubCommands() []cmdparser.Command

SubCommands sets up all the sub-commands for `sqlcmd config`

type Install

type Install struct {
	cmdparser.Cmd
}

Install defines the `sqlcmd install` sub-commands

func (*Install) DefineCommand

func (c *Install) DefineCommand(...cmdparser.CommandOptions)

func (*Install) SubCommands

func (c *Install) SubCommands() []cmdparser.Command

SubCommands sets up the sub-commands for `sqlcmd install` such as `sqlcmd install mssql` and `sqlcmd install azsql-edge`

type Open added in v0.13.0

type Open struct {
	cmdparser.Cmd
}

Open defines the `sqlcmd open` sub-commands

func (*Open) DefineCommand added in v0.13.0

func (c *Open) DefineCommand(...cmdparser.CommandOptions)

func (*Open) SubCommands added in v0.13.0

func (c *Open) SubCommands() []cmdparser.Command

SubCommands sets up the sub-commands for `sqlcmd open` such as `sqlcmd open ads`

type Query

type Query struct {
	cmdparser.Cmd
	// contains filtered or unexported fields
}

Query defines the `sqlcmd query` command

func (*Query) DefineCommand

func (c *Query) DefineCommand(...cmdparser.CommandOptions)

type Start added in v0.13.0

type Start struct {
	cmdparser.Cmd
}

func (*Start) DefineCommand added in v0.13.0

func (c *Start) DefineCommand(...cmdparser.CommandOptions)

type Stop added in v0.13.0

type Stop struct {
	cmdparser.Cmd
}

func (*Stop) DefineCommand added in v0.13.0

func (c *Stop) DefineCommand(...cmdparser.CommandOptions)

type Uninstall

type Uninstall struct {
	cmdparser.Cmd
	// contains filtered or unexported fields
}

Uninstall defines the `sqlcmd uninstall` command

func (*Uninstall) DefineCommand

func (c *Uninstall) DefineCommand(...cmdparser.CommandOptions)

Notes

Bugs

  • Decide on if --text or --query is best (or leave both for convenience)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL