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
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
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
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
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
e410a2641b
Support .tables and .schema in rqlite CLI
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