1
0
Fork 0

99 Commits (a4f7431108fe6bfe6373555dcc644f772450d942)

Author SHA1 Message Date
Philip O'Toole 99ac2353b3 Simplify rqlite implementation
This results in significant duplicated code, but is easier to follow.
The previous code was buggy when it came to redirection handling.
Longer term tool needs to be rebuilt to use a proper Go SQL-compliant
package (yet to be written).
5 years ago
Philip O'Toole 9ab39b7b29 Read, and close, response body ASAP 5 years ago
Philip O'Toole 959d280c49 rqlite CLI explicitly checks for HTTP 200 5 years ago
Philip O'Toole 6213f5d604
Print Welcome message in CLI 5 years ago
Philip O'Toole 70fec8fb1f Add HTTP proxy (from environment) support
Port PR573.
5 years ago
Philip O'Toole 76975f96fe Add .dump to CLI 5 years ago
Philip O'Toole ff0d5d1d39 Add restore command to CLI
Port of PR450.
5 years ago
Philip O'Toole 7ac47a1571 CLI now supports history
Port of PR527.
5 years ago
Philip O'Toole ea8d568406 Commit new file 5 years ago
Philip O'Toole 7a81104082 Support backups from CLI
Port PR436.
5 years ago
Philip O'Toole ec593fe8d5 Support showing timings in the CLI
Port of https://github.com/rqlite/rqlite/pull/414
5 years ago
Philip O'Toole 1d8417de74 Add support for BasicAuth to CLI
Port PR406 to v4.
5 years ago
Philip O'Toole de379a883c When joining try HTTPS if HTTP fails 5 years ago
Zac Medico 936ab69ba9
Add rqlite -ca-cert option to specify trusted root CA certificate
The -ca-cert option allows the user to specify a trusted X.509 root CA
certificate as an alternative to the --insecure option.
5 years ago
Philip O Toole 6bbdc88c1d ABL
Always be linting.
7 years ago
Philip O'Toole 4dbe5c1fae CLI doesn't need to send indented JSON 7 years ago
Philip O Toole 0fe34905ff CLI checks for HTTP 401
The CLI doesn't yet support passing authentication credentials, but this change means the user will know what is happening.
7 years ago
Philip O Toole 0ab2922ffd CLI package seems to be adding extra space now 7 years ago
Philip O'Toole 0b08aa52c7 Update main.go 7 years ago
Philip O'Toole d4e0764315 Add .expvar to CLI help output 7 years ago
Philip O'Toole defbdc78d6 Support fetching expvar info via CLI 7 years ago
Philip O'Toole aa998db89e More GoDoc 7 years ago
Philip O'Toole d1fb732e6e CLI doesn't need pretty responses nor timings 7 years ago
Philip O'Toole 6f019e549a Add in-CLI help 7 years ago
Philip O'Toole 7c1d23fae3 STATUS command shouldn't redirect
Return status of "connected" node.
7 years ago
Philip O'Toole d5e810f319 Correct CLI README 7 years ago
Philip O'Toole f9a40c22e3 Add .STATUS command to CLI 7 years ago
Philip O'Toole ebfa38d726 Move to clearer command-line options 7 years ago
Philip O Toole 28269944af CLI should handle HTTP redirect explicitly
HTTP client behavior changed with Go 1.8. This change makes behavior that was implicit in Go 1.7 and earlier, explicit now.
8 years ago
Philip O'Toole e0721274f5 Update README.md 8 years ago
Philip O'Toole e410a2641b Support .tables and .schema in rqlite CLI 8 years ago
Philip O'Toole 1491f17eda Update README.md 8 years ago
Philip O'Toole a122b26050 Update README.md 8 years ago
Philip O'Toole b9112d60b4 Update README.md 8 years ago
Philip O'Toole 334e67cd99 Tweak help output for latest rqlite commands 8 years ago
Tycho Andersen a73b597d4f cmd: add an --insecure flag to rqlite
This can be used to test against servers which don't have verifiable https
certs.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
8 years ago
Tycho Andersen 86bb3c46e5 cmd: add --prefix option to rqlite
If e.g. rqlite is embedded in some other HTTP engine via forwarding or
something, it might not be at /; let's allow the client to talk to rqlite
in this case.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>
8 years ago
Philip O Toole bbad422f37 Tweak CLI help usage 8 years ago
Philip O'Toole b77130aa2c CLI now handles no rows correctly 8 years ago
Philip O'Toole 5ff3a885e7 CLI follows 301 redirect 8 years ago
mkideal 050a9bbe0b fix bug for rqlite-cli query: results should be a slice instead of array 9 years ago
Philip O'Toole a6c7f5dc15 Merge pull request #122 from rqlite/rqlite_cli_rqlite
Handle error correctly from 'execute'
9 years ago
Philip O Toole 867cff7ab4 Handle error correctly from 'execute' 9 years ago
Philip O'Toole 6ee83d2e2a Update README.md 9 years ago
Philip O Toole e7879143f1 Prettier output after 'execute' 9 years ago
Philip O Toole b74ebaa555 No need for CLI to request pretty JSON 9 years ago
Philip O Toole 157b2926a8 Just call the rqlite CLI 'rqlite'
This follows the pattern of MySQL.
9 years ago
mkideal 898f7b815e impl rqlite-cli 9 years ago
Philip O'Toole 82c85f2102 Rename CLI to more standard version 9 years ago