featurebase/cmd
Lory Cloutier f627199acb FB-1766: cleaning up the CmdIO objects passing alternate stdin/
stdout/stderr around

A lot of functions in the cmd and ctl packages were passing these
around and barely using them. Replaced them with a logger for most
functions. Some functions get an io.Writer instead so that their
tests can find the output they're looking for.

More cleanup on fb-1766: reworked the tests that were using io.Pipe
or os.Pipe to check their results so they now use a bytes.Buffer.

Unexported some variables that didn't need to be exported.
Fixed NewConfigCommand to use the provided stderr, not os.Stderr.
Added tests for rbf_dump, rbf_page, and keygen, since those weren't
being tested at all.

Added chksum_test, final cleanup.
2022-11-29 12:49:36 -06:00
..
badloader staticcheck fixes (#2278) 2022-11-07 10:51:55 -06:00
featurebase FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
featurebase-parse-sql added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
pilosa-bench staticcheck fixes (#2278) 2022-11-07 10:51:55 -06:00
roaring-migrate staticcheck fixes (#2278) 2022-11-07 10:51:55 -06:00
slurp staticcheck fixes (#2278) 2022-11-07 10:51:55 -06:00
auth_token.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
backup.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
backup_tar.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
chksum.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
cli.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
config.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
dax.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
doc.go add copyright notice back in 2021-12-10 11:01:04 -06:00
export.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
export_test.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
generate_config.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
import.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
import_test.go Add DAX - full list of squashed commits below 2022-11-16 11:19:40 -06:00
keygen.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
rbf.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
restore.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
restore_tar.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
root.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
root_test.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
server.go FB-1766: cleaning up the CmdIO objects passing alternate stdin/ 2022-11-29 12:49:36 -06:00
server_test.go remove unused env var from test 2022-02-11 12:02:10 -06:00