blob: 996872253c0f6a1babacfed1f64210795ae7c63c [file] [log] [blame]
Ivan Pilat4ae55812015-07-14 22:02:59 -07001// Copyright 2015 The Vanadium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Antimony (sb51) - Syncbase general-purpose client and management utility.
6// Currently supports SyncQL select queries.
7
8package main
9
10import (
11 "flag"
12
13 "v.io/x/lib/cmdline"
14 _ "v.io/x/ref/runtime/factories/generic"
15)
16
17func main() {
18 cmdline.Main(cmdSb51)
19}
20
21var cmdSb51 = &cmdline.Command{
22 Name: "sb51",
23 Short: "Antimony - Vanadium Syncbase client and management utility",
24 Long: `
25Syncbase general-purpose client and management utility.
26Currently supports starting a SyncQL shell.
27`,
28 Children: []*cmdline.Command{cmdSbShell},
29}
30
31var (
32 // TODO(ivanpi): Decide on convention for local syncbase service name.
33 flagSbService = flag.String("service", "/:8101/syncbase", "Location of the Syncbase service to connect to. Can be absolute or relative to the namespace root.")
34)