Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CommandName = `usql` CommandVersion = `0.0.0-dev` Banner = CommandName + `, the universal command-line interface for SQL databases` NotConnected = `(not connected)` HelpPrefix = `help` WelcomeDesc = `Type "` + HelpPrefix + `" for help.` QueryBufferEmpty = `Query buffer is empty.` QueryBufferReset = `Query buffer reset (cleared).` InvalidCommand = `Invalid command \%s. Try \? for help.` ExtraArgumentIgnored = `\%s: extra argument "%s" ignored` MissingRequiredArg = `\%s: missing required argument` Copyright = Banner + ".\n\n" + License RowCount = `(%d rows)` AvailableDrivers = `Available Drivers:` ConnInfo = `You are connected with driver %s (%s)` EnterPassword = `Password: ` HelpDesc string HelpBanner = `You are using ` + Banner + `.` HelpCommandPrefix = `Type: ` HelpCommands = [][]string{ []string{`copyright`, `for distribution terms`}, []string{`h`, `for help with SQL commands`}, []string{`?`, `for help with ` + CommandName + ` commands`}, []string{`g`, `or terminate with semicolon to execute query`}, []string{`q`, `to quit`}, } )
View Source
var License = `` /* 1083-byte string literal not displayed */
Functions ¶
func Command ¶ added in v0.4.0
func Command() string
Command returns the command name without spaces.
func CommandLower ¶ added in v0.4.0
func CommandLower() string
CommandLower returns the lower case command name without spaces.
func CommandUpper ¶ added in v0.4.0
func CommandUpper() string
CommandUpper returns the upper case command name without spaces.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.