You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main.go
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ import (
23
23
"os"
24
24
"os/user"
25
25
"path/filepath"
26
+
"runtime/debug"
26
27
27
28
pb "cloud.google.com/go/spanner/apiv1/spannerpb"
28
29
flags "github.com/jessevdk/go-flags"
@@ -49,6 +50,7 @@ type spannerOptions struct {
49
50
DirectedReadstring`long:"directed-read" description:"Directed read option (replica_location:replica_type). The replicat_type is optional and either READ_ONLY or READ_WRITE"`
ProtoDescriptorFilestring`long:"proto-descriptor-file" description:"Path of a file that contains a protobuf-serialized google.protobuf.FileDescriptorSet message to use in this invocation."`
53
+
Versionbool`long:"version" description:"Show version of spanner-cli"`
0 commit comments