1
0
Fork 0

81 Commits (395498b6b6aa488285bf5028664e5ad25def99e6)

Author SHA1 Message Date
Philip O'Toole 25403472ab Use standard library to join host and port
This way we get network addresses that are compatible with IPv6 hosts.
9 months ago
Philip O'Toole bac6b2e8d0 Use SQLite-like help style in rqlite shell 9 months ago
Philip O'Toole df26bcbfc0
Update main.go 9 months ago
Philip O'Toole 1b61a7e64a
Alphabetical CLI help 9 months ago
Philip O'Toole 73d757313e History writer may be nil
If UserHomeDir() doesn't have a value, this can happen. Fixes
https://github.com/rqlite/rqlite/issues/1486. May also be caused by
failure to open the history file. In any event, this is not something
that should block the CLI from working.
9 months ago
Philip O'Toole d73edb12cf Add .boot suport to CLI 9 months ago
Philip O'Toole 6290ad801b Minor CLI improvements 9 months ago
Philip O'Toole 9de0fc55a6 Revert "Merge pull request #1423 from rqlite/remove-next-protos"
This reverts commit 1b932d48ab, reversing
changes made to 60faad15e7.
10 months ago
Philip O'Toole b08cec64a1 Move NextProtos to server TLS config only 10 months ago
Philip O'Toole 9469cc8c30 Fix comment 10 months ago
Philip O'Toole 1558811fec Disable NextProtos again 10 months ago
Philip O'Toole 5397f8dc04 Disable NextProtos for CLI tool
CLI refuses to connect otherwise. Right now I just want to add basic
mTLS support, so not digging into it.
10 months ago
Philip O'Toole 4475684271 Remove unneeded code 10 months ago
Philip O'Toole 5e2221609a Remove deprecated ioutil 10 months ago
Philip O'Toole 06c0b32108 Add mTLS support to rqlite CLI 10 months ago
JT Archie 6503ffac89 provide a timeout on http client
When using the `rqlite` CLI, I was unable to determine an issue of connection.
It turns out that the arugments I had provided were not working.
The issue did not present itself till I added a timeout to the HTTP client.
12 months ago
Philip O'Toole 3592bae314 Add /readyz to sysdump 1 year ago
Philip O'Toole b03a5ffc96 .sysdump retrieves info from all nodes 1 year ago
Philip O'Toole 5fd3edfa90 ABL 1 year ago
Philip O'Toole 9e4971bef4 Better error message for "connection refused" 2 years ago
Philip O'Toole 8acc0d8ff7
Delete history file if RQLITE_HISTFILESIZE is zero (#1146)
Delete history file if RQLITE_HISTFILESIZE is zero

Fixes https://github.com/rqlite/rqlite/issues/1145.
2 years ago
Philip O'Toole 8f9919bbd9 More unit testing 2 years ago
Philip O'Toole fab780a4d5 Handle cntrl-d gracefully 2 years ago
Philip O'Toole 8cf6b92ece Fix syntax error 2 years ago
Philip O'Toole 11893bbb34
Continue to support "EXIT"
Would be a breaking change otherwise.
2 years ago
Philip O'Toole f52be631ac
Explicitly support .exit in CLI 2 years ago
Philip O'Toole e1c31805d0 Add support to CLI for load-from-SQLite files 2 years ago
Mehdi Cheracher 80881e7b8b
[Draft] Accept alternative servers to connect to in rqlite cli (#947)
Add -alternatives flag to fallback to when hosts are unavailable
3 years ago
chermehdi 3bfcbffc37 Fix typos and Grammar issues 3 years ago
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 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 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 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