-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.go
30 lines (24 loc) · 937 Bytes
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
fql is a query language for Foundation DB
Usage:
fql [flags] query ...
Flags:
-b, --bytes print full byte strings instead of just their length
-c, --cluster string path to cluster file
-h, --help help for fql
--limit int limit the number of KVs read in range-reads
-l, --little encode/decode values as little endian instead of big endian
--log enable debug logging
--log-file string logging file when in fullscreen (default "log.txt")
-q, --query stringArray execute query non-interactively
-r, --reverse query range-reads in reverse order
-s, --strict throw an error if a KV is read which doesn't match the schema
-w, --write allow write queries
*/
package main
import "github.com/janderland/fql/internal/app"
func main() {
if err := app.FQL.Execute(); err != nil {
panic(err)
}
}