featurebase/cli
Travis Turner 10aab583c9
fbsql disconnect from database with \c - (#2338)
* fbsql disconnect from database with `\c -`

This adds the ability to disconnect from the current database by passing
a hyphen to the `\c` meta-command.

* Update cli/cli.go

Co-authored-by: Matthew Jaffee <jaffee@pilosa.com>

---------

Co-authored-by: Matthew Jaffee <jaffee@pilosa.com>
2023-03-21 19:21:40 -05:00
..
batch Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
fbcloud CLI: make it more like psql (#2235) 2023-02-14 09:23:51 -06:00
kafka check for valid name in kafka-config (#2321) 2023-03-16 09:16:31 -05:00
testdata fbsql disconnect from database with \c - (#2338) 2023-03-21 19:21:40 -05:00
buffer.go CLI: make it more like psql (#2235) 2023-02-14 09:23:51 -06:00
cli.go fbsql disconnect from database with \c - (#2338) 2023-03-21 19:21:40 -05:00
cli_integration_test.go Add CSV support to fbsql (#2318) 2023-03-13 17:41:08 -05:00
cli_test.go fbsql integration test framework (#2308) 2023-03-13 16:29:18 -05:00
config.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
errors.go Minor cleanup to some fbsql flags and meta-commands (#2299) 2023-03-07 12:18:55 -06:00
kafka.go fbsql integration test framework (#2308) 2023-03-13 16:29:18 -05:00
Makefile fbsql integration test framework (#2308) 2023-03-13 16:29:18 -05:00
meta.go Add CSV support to fbsql (#2318) 2023-03-13 17:41:08 -05:00
parts.go Add kafka support to CLI (fbsql) (#2278) 2023-03-07 08:18:22 -06:00
queryer.go Minor cleanup to some fbsql flags and meta-commands (#2299) 2023-03-07 12:18:55 -06:00
replacer.go CLI variables (#2263) 2023-02-22 15:52:58 -06:00
replacer_test.go CLI variables (#2263) 2023-02-22 15:52:58 -06:00
splitter.go fbsql integration test framework (#2308) 2023-03-13 16:29:18 -05:00
splitter_test.go CLI variables (#2263) 2023-02-22 15:52:58 -06:00
workingdir.go CLI: make it more like psql (#2235) 2023-02-14 09:23:51 -06:00
writer.go Add CSV support to fbsql (#2318) 2023-03-13 17:41:08 -05:00
writer_test.go Add CSV support to fbsql (#2318) 2023-03-13 17:41:08 -05:00