Commit Graph

25 Commits (891a15662a3eb8c6b9ecf505f23e75ca06a57335)

Author SHA1 Message Date
Cory LaNou 891a15662a no more line headers 2015-03-12 11:17:08 -06:00
Cory LaNou b94027fb84 add line separator between result outputs 2015-03-12 11:17:08 -06:00
Cory LaNou b36217cecd fixing bug with headers output 2015-03-12 11:17:08 -06:00
Cory LaNou 96856ffb19 stop writing blank columns, repeate headers as necessary 2015-03-12 11:17:08 -06:00
Jesse Becker (NCBI) 0f7c69c587 Fix for #1760: influx doesn't create $HOME/.influx_history 2015-03-03 17:12:19 -05:00
Kai Zhang ef262171d6 trim command line before parse it
This can avoid some errors caused by an additional space at the end of
the command line.

For example: 'use db ' will be trimed to 'use db' and parsed correctly.

Signed-off-by: Kai Zhang <zhangk1985@gmail.com>
2015-03-01 10:44:20 +08:00
Philip O'Toole 3e727ac01e Change "Rows" to "Series" in API output 2015-02-22 21:21:49 -08:00
Mark Rushakoff f6b26d30dd Shell includes version in user agent string
Note on how overriding the version works:

If you just run `go run cmd/influx/main.go` you'll see the shell print
out "Influx DB shell 0.9" as this commit sets the package-level variable
`version` to the string "0.9".

Running `go run -ldflags "-X main.version 123" cmd/influx/main.go` will
print out "Influx DB shell 123". (`-ldflags` works for `go install` and
`go build`, too.)
2015-02-11 22:08:21 -08:00
Mark Rushakoff e9d5b74738 Client user agent is configurable 2015-02-11 12:35:15 -08:00
Cory LaNou 7dbd9c0d3d combine error checking 2015-02-10 09:12:18 -07:00
Cory LaNou 7b28df0d49 someone needs to add a precommit hook... 2015-02-10 08:54:19 -07:00
Cory LaNou 091fd254da merge gone bad somewhere 2015-02-05 08:50:08 -07:00
Cory LaNou bc264fc430 be more strict on password arg, check if password was set 2015-02-03 15:21:48 -07:00
Cory LaNou 7b5af491d7 cli - prompt for password if blank but specified in args 2015-02-03 15:21:48 -07:00
Cory LaNou 83c39d70c4 cli - prompt for password, add auth command fixes #1441 2015-02-03 15:21:24 -07:00
Cory LaNou 781bf45a70 fixing comment grammer 2015-02-03 15:10:32 -07:00
Cory LaNou 8dd52a1ea0 removing duplicate error check 2015-02-03 15:08:47 -07:00
Cory LaNou d3c98de563 adding new output formats to cli: csv, column, json. fixes 1419 2015-02-03 14:43:18 -07:00
Cory LaNou 36cd5d1b24 add some basic test coverage for now 2015-02-03 10:22:50 -07:00
Cory LaNou dfcfa9e673 allow cli to connect with :8087 syntax 2015-02-03 09:34:13 -07:00
Cory LaNou a3a4a03263 add const for default_host in cli 2015-02-03 09:24:26 -07:00
Cory LaNou b090768890 cli can now connect to other servers while in shell 2015-02-03 09:15:11 -07:00
Cory LaNou 1ad0e32c0a add warning if querying resulted in an error and database was not set 2015-01-30 14:38:27 -07:00
Cory LaNou 85499c6f17 enable use command in cli 2015-01-30 14:31:53 -07:00
Cory LaNou e066826657 renamed influxdb to influx for cli 2015-01-28 17:22:28 -07:00