1
0
Fork 0

122 Commits (efd60b78369a85a3489c1db35e8cdec7e4028d84)

Author SHA1 Message Date
Philip O'Toole d8e915e0be Fix readyz/ path for check 3 years ago
Philip O'Toole 99dfdd0ebf Fix number display for .status 3 years ago
Tis 79ae29dc05
fix:solve the float64 problem during JSON deserialization (#922) 3 years ago
Philip O'Toole da35c62024
Support fetching /readyz via CLI (#921)
* Support fetching /readyz via CLI

* Update CHANGELOG
3 years ago
Philip O'Toole add544a2a8
Update README.md 3 years ago
Philip O'Toole 7e85cab80d CLI supports setting read consistency level 3 years ago
Philip O'Toole b87554065e Fix SELECT in CLI
Fixes https://github.com/rqlite/rqlite/issues/854.
3 years ago
Philip O'Toole e1e239888a CLI supports PRAGMA directives
Add a doc about rqlite and PRAGMA.
3 years ago
Philip O'Toole 8a2a192386 Add -v option to CLI 3 years ago
Philip O'Toole 46f2772e2b Fix linker flags 3 years ago
Philip O'Toole 088a06bfc9 Try simple way to share build information 3 years ago
Philip O'Toole 37c5e4532d Add 10 second timeout for sysdump GETs 3 years ago
Philip O'Toole 2fd1a84f55 Fetch sysdump from connected node 3 years ago
Philip O'Toole 91a0db2435 Start hooking in .sysdump command 3 years ago
Philip O'Toole f3ee5d0fee Add rqlite support for '.nodes' command 3 years ago
Philip O'Toole 09931f8338 rqlite dumps rqlite node version at startup 4 years ago
Philip O'Toole ac5fb55301 Display HTTP response body on 503 4 years ago
Philip O'Toole d47c290cda Restore request should re-read file every attempt
It can now handle HTTP 301 redirects properly.
4 years ago
Philip O'Toole 9482741afa Set BasicAuth when needed during restore 4 years ago
Philip O'Toole 0f3010f15c Add missing calls to set BasicAuth 4 years ago
Philip O'Toole aa2467b29d Print help in alpha order 5 years ago
Philip O'Toole ad1557664a Add support to CLI for node removal 5 years ago
Philip O'Toole 8ecf84a42b Reset strings reader every execute loop 5 years ago
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