Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
42c82d33
Commit
42c82d33
authored
Jul 21, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
e2627fd4
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
267 additions
and
267 deletions
+267
-267
go/neo/cmd/neo/neo.go
go/neo/cmd/neo/neo.go
+1
-93
go/neo/neotools/main.go
go/neo/neotools/main.go
+9
-1
go/zodb/cmd/zodb/zodb.go
go/zodb/cmd/zodb/zodb.go
+3
-94
go/zodb/storage/fs1/cmd/fs1/.gitignore
go/zodb/storage/fs1/cmd/fs1/.gitignore
+1
-0
go/zodb/storage/fs1/cmd/fs1/fs1.go
go/zodb/storage/fs1/cmd/fs1/fs1.go
+10
-2
go/zodb/storage/fs1/cmd/fstail/.gitignore
go/zodb/storage/fs1/cmd/fstail/.gitignore
+0
-1
go/zodb/storage/fs1/fs1tools/main.go
go/zodb/storage/fs1/fs1tools/main.go
+21
-2
go/zodb/storage/fs1/fs1tools/tail.go
go/zodb/storage/fs1/fs1tools/tail.go
+27
-22
go/zodb/storage/fs1/fs1tools/tail_test.go
go/zodb/storage/fs1/fs1tools/tail_test.go
+5
-5
go/zodb/storage/fs1/fs1tools/testdata/1.fsdump.ok
go/zodb/storage/fs1/fs1tools/testdata/1.fsdump.ok
+0
-0
go/zodb/storage/fs1/url.go
go/zodb/storage/fs1/url.go
+1
-1
go/zodb/zodbtools/driver.go
go/zodb/zodbtools/driver.go
+178
-0
go/zodb/zodbtools/help.go
go/zodb/zodbtools/help.go
+0
-20
go/zodb/zodbtools/main.go
go/zodb/zodbtools/main.go
+11
-26
No files found.
go/neo/cmd/neo/neo.go
View file @
42c82d33
...
...
@@ -21,101 +21,9 @@
package
main
import
(
"flag"
"fmt"
"os"
"lab.nexedi.com/kirr/neo/go/neo/neotools"
)
func
usage
()
{
w
:=
os
.
Stderr
fmt
.
Fprintf
(
w
,
`Neo is a tool for running NEO services and commands.
Usage:
neo command [arguments]
The commands are:
`
)
for
_
,
cmd
:=
range
neotools
.
Commands
{
fmt
.
Fprintf
(
w
,
"
\t
%-11s %s
\n
"
,
cmd
.
Name
,
cmd
.
Summary
)
}
fmt
.
Fprintf
(
w
,
`
Use "neo help [command]" for more information about a command.
Additional help topics:
`
)
for
_
,
topic
:=
range
neotools
.
HelpTopics
{
fmt
.
Fprintf
(
w
,
"
\t
%-11s %s
\n
"
,
topic
.
Name
,
topic
.
Summary
)
}
fmt
.
Fprintf
(
w
,
`
Use "neo help [topic]" for more information about that topic.
`
)
}
// help shows general help or help for a command/topic
func
help
(
argv
[]
string
)
{
if
len
(
argv
)
<
2
{
// help topic ...
usage
()
os
.
Exit
(
2
)
}
topic
:=
argv
[
1
]
// topic can either be a command name or a help topic
command
:=
neotools
.
Commands
.
Lookup
(
topic
)
if
command
!=
nil
{
command
.
Usage
(
os
.
Stdout
)
os
.
Exit
(
0
)
}
helpTopic
:=
neotools
.
HelpTopics
.
Lookup
(
topic
)
if
helpTopic
!=
nil
{
fmt
.
Println
(
helpTopic
.
Text
)
os
.
Exit
(
0
)
}
fmt
.
Fprintf
(
os
.
Stderr
,
"Unknown help topic `%s`. Run 'neo help'.
\n
"
,
topic
)
os
.
Exit
(
2
)
}
func
main
()
{
flag
.
Usage
=
usage
flag
.
Parse
()
argv
:=
flag
.
Args
()
if
len
(
argv
)
==
0
{
usage
()
os
.
Exit
(
2
)
}
command
:=
argv
[
0
]
// help on a topic
if
command
==
"help"
{
help
(
argv
)
return
}
// run subcommand
cmd
:=
neotools
.
Commands
.
Lookup
(
command
)
if
cmd
==
nil
{
fmt
.
Fprintf
(
os
.
Stderr
,
"neo: unknown subcommand
\"
%s
\"\n
"
,
command
)
fmt
.
Fprintf
(
os
.
Stderr
,
"Run 'neo help' for usage.
\n
"
)
os
.
Exit
(
2
)
}
cmd
.
Main
(
argv
)
neotools
.
Prog
.
Main
()
}
go/neo/neotools/
command
.go
→
go/neo/neotools/
main
.go
View file @
42c82d33
...
...
@@ -17,8 +17,8 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Package neotools provides tools for running and managing NEO databases.
package
neotools
// registry of all commands & help topics
import
"lab.nexedi.com/kirr/neo/go/zodb/zodbtools"
...
...
@@ -30,3 +30,11 @@ var Commands = zodbtools.CommandRegistry{
var
HelpTopics
=
zodbtools
.
HelpRegistry
{
// XXX for now empty
}
// main neo driver
var
Prog
=
zodbtools
.
MainProg
{
Name
:
"neo"
,
Summary
:
"Neo is a tool for running NEO services and commands"
,
Commands
:
Commands
,
HelpTopics
:
HelpTopics
,
}
go/zodb/cmd/zodb/zodb.go
View file @
42c82d33
...
...
@@ -17,107 +17,16 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Zodb is a driver program for invoking zodbtools subcommands
// Zodb is a driver program for invoking zodbtools subcommands
.
package
main
import
(
"flag"
"fmt"
"os"
"lab.nexedi.com/kirr/neo/go/zodb/zodbtools"
// so that support for well-known ZODB storages is linked-in and available
_
"lab.nexedi.com/kirr/neo/go/zodb/wks"
)
func
usage
()
{
w
:=
os
.
Stderr
fmt
.
Fprintf
(
w
,
`Zodb is a tool for managing ZODB databases.
Usage:
zodb command [arguments]
The commands are:
`
)
for
_
,
cmd
:=
range
zodbtools
.
Commands
{
fmt
.
Fprintf
(
w
,
"
\t
%-11s %s
\n
"
,
cmd
.
Name
,
cmd
.
Summary
)
}
fmt
.
Fprintf
(
w
,
`
Use "zodb help [command]" for more information about a command.
Additional help topics:
`
)
for
_
,
topic
:=
range
zodbtools
.
HelpTopics
{
fmt
.
Fprintf
(
w
,
"
\t
%-11s %s
\n
"
,
topic
.
Name
,
topic
.
Summary
)
}
fmt
.
Fprintf
(
w
,
`
Use "zodb help [topic]" for more information about that topic.
`
)
}
// help shows general help or help for a command/topic
func
help
(
argv
[]
string
)
{
if
len
(
argv
)
<
2
{
// help topic ...
usage
()
os
.
Exit
(
2
)
}
topic
:=
argv
[
1
]
// topic can either be a command name or a help topic
command
:=
zodbtools
.
Commands
.
Lookup
(
topic
)
if
command
!=
nil
{
command
.
Usage
(
os
.
Stdout
)
os
.
Exit
(
0
)
}
helpTopic
:=
zodbtools
.
HelpTopics
.
Lookup
(
topic
)
if
helpTopic
!=
nil
{
fmt
.
Println
(
helpTopic
.
Text
)
os
.
Exit
(
0
)
}
fmt
.
Fprintf
(
os
.
Stderr
,
"Unknown help topic `%s`. Run 'zodb help'.
\n
"
,
topic
)
os
.
Exit
(
2
)
}
func
main
()
{
flag
.
Usage
=
usage
flag
.
Parse
()
argv
:=
flag
.
Args
()
if
len
(
argv
)
==
0
{
usage
()
os
.
Exit
(
2
)
}
command
:=
argv
[
0
]
// help on a topic
if
command
==
"help"
{
help
(
argv
)
return
}
// run subcommand
cmd
:=
zodbtools
.
Commands
.
Lookup
(
command
)
if
cmd
==
nil
{
fmt
.
Fprintf
(
os
.
Stderr
,
"zodb: unknown subcommand
\"
%s
\"\n
"
,
command
)
fmt
.
Fprintf
(
os
.
Stderr
,
"Run 'zodb help' for usage.
\n
"
)
os
.
Exit
(
2
)
}
cmd
.
Main
(
argv
)
zodbtools
.
Prog
.
Main
()
}
go/zodb/storage/fs1/cmd/fs1/.gitignore
0 → 100644
View file @
42c82d33
/fs1
go/
neo/neotools/doc
.go
→
go/
zodb/storage/fs1/cmd/fs1/fs1
.go
View file @
42c82d33
...
...
@@ -17,5 +17,13 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Package neotools provides tools for running and managing NEO databases.
package
neotools
// fs1 is a driver program for running & invoking fs1 subcommands.
package
main
import
(
"lab.nexedi.com/kirr/neo/go/zodb/storage/fs1/fs1tools"
)
func
main
()
{
fs1tools
.
Prog
.
Main
()
}
go/zodb/storage/fs1/cmd/fstail/.gitignore
deleted
100644 → 0
View file @
e2627fd4
/fstail
go/zodb/
zodbtools/doc
.go
→
go/zodb/
storage/fs1/fs1tools/main
.go
View file @
42c82d33
...
...
@@ -17,5 +17,24 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Package zodbtools provides tools for managing ZODB databases
package
zodbtools
// Package fs1tools provides tools for managing and maintaining ZODB FileStorage v1 databases.
package
fs1tools
import
"lab.nexedi.com/kirr/neo/go/zodb/zodbtools"
var
Commands
=
zodbtools
.
CommandRegistry
{
{
"tail"
,
tailSummary
,
tailUsage
,
tailMain
},
// {"reindex", reindexSummary, reindexUsage, reindexMain},
}
var
HelpTopics
=
zodbtools
.
HelpRegistry
{
// XXX for now empty
}
// main fs1 driver
var
Prog
=
zodbtools
.
MainProg
{
Name
:
"fs1"
,
Summary
:
"Fs1 is a tool to manage and maintain ZODB FileStorage v1 databases"
,
Commands
:
Commands
,
HelpTopics
:
HelpTopics
,
}
go/zodb/storage/fs1/
cmd/fstail/fs
tail.go
→
go/zodb/storage/fs1/
fs1tools/
tail.go
View file @
42c82d33
...
...
@@ -17,15 +17,7 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
/*
fstail - Tool to dump the last few transactions from a FileStorage.
Format is the same as in fstail/py originally written by Jeremy Hylton:
https://github.com/zopefoundation/ZODB/blob/master/src/ZODB/scripts/fstail.py
https://github.com/zopefoundation/ZODB/commit/551122cc
*/
package
main
package
fs1tools
import
(
"crypto/sha1"
...
...
@@ -43,8 +35,15 @@ import (
"lab.nexedi.com/kirr/go123/xfmt"
)
/*
Tail dumps the last few transactions from a FileStorage.
Format is the same as in fstail/py originally written by Jeremy Hylton:
func
fsTail
(
w
io
.
Writer
,
path
string
,
ntxn
int
)
(
err
error
)
{
https://github.com/zopefoundation/ZODB/blob/master/src/ZODB/scripts/fstail.py
https://github.com/zopefoundation/ZODB/commit/551122cc
*/
func
Tail
(
w
io
.
Writer
,
path
string
,
ntxn
int
)
(
err
error
)
{
// path & fstail on error context
defer
func
()
{
if
err
!=
nil
{
...
...
@@ -144,13 +143,14 @@ func fsTail(w io.Writer, path string, ntxn int) (err error) {
return
err
}
// ----------------------------------------
func
main
()
{
ntxn
:
=
10
const
tailSummary
=
"dump last few transactions of a database"
const
ntxnDefault
=
10
flag
.
Usage
=
func
(
)
{
fmt
.
Fprintf
(
os
.
Stderr
,
`
fs
tail [options] <storage>
func
tailUsage
(
w
io
.
Writer
)
{
fmt
.
Fprintf
(
w
,
`
Usage: fs1
tail [options] <storage>
Dump transactions from a FileStorage in reverse order
<storage> is a path to FileStorage
...
...
@@ -159,20 +159,25 @@ Dump transactions from a FileStorage in reverse order
-h --help this help text.
-n <N> output the last <N> transactions (default %d).
`
,
ntxn
)
}
`
,
ntxnDefault
)
}
func
tailMain
(
argv
[]
string
)
{
ntxn
:=
ntxnDefault
flag
.
IntVar
(
&
ntxn
,
"n"
,
ntxn
,
"output the last <N> transactions"
)
flag
.
Parse
()
flags
:=
flag
.
FlagSet
{
Usage
:
func
()
{
tailUsage
(
os
.
Stderr
)
}}
flags
.
Init
(
""
,
flag
.
ExitOnError
)
flags
.
IntVar
(
&
ntxn
,
"n"
,
ntxn
,
"output the last <N> transactions"
)
flags
.
Parse
(
argv
[
1
:
])
argv
:=
flag
.
Args
()
argv
=
flags
.
Args
()
if
len
(
argv
)
<
1
{
flag
.
Usage
()
flag
s
.
Usage
()
os
.
Exit
(
2
)
}
storPath
:=
argv
[
0
]
err
:=
fs
Tail
(
os
.
Stdout
,
storPath
,
ntxn
)
err
:=
Tail
(
os
.
Stdout
,
storPath
,
ntxn
)
if
err
!=
nil
{
log
.
Fatal
(
err
)
}
...
...
go/zodb/storage/fs1/
cmd/fstail/fs
tail_test.go
→
go/zodb/storage/fs1/
fs1tools/
tail_test.go
View file @
42c82d33
...
...
@@ -17,7 +17,7 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
package
main
package
fs1tools
//go:generate sh -c "python2 -m ZODB.scripts.fstail -n 1000000 ../../testdata/1.fs >testdata/1.fsdump.ok"
...
...
@@ -46,10 +46,10 @@ func diff(a, b string) string {
return
dmp
.
DiffPrettyText
(
diffv
)
}
func
Test
Fs
Tail
(
t
*
testing
.
T
)
{
func
TestTail
(
t
*
testing
.
T
)
{
buf
:=
bytes
.
Buffer
{}
err
:=
fsTail
(
&
buf
,
"../
../testdata/1.fs"
,
1000000
)
err
:=
Tail
(
&
buf
,
"
../testdata/1.fs"
,
1000000
)
if
err
!=
nil
{
t
.
Fatal
(
err
)
}
...
...
@@ -61,10 +61,10 @@ func TestFsTail(t *testing.T) {
}
}
func
Benchmark
Fs
Tail
(
b
*
testing
.
B
)
{
func
BenchmarkTail
(
b
*
testing
.
B
)
{
// FIXME small testdata/1.fs is not representative for benchmarking
for
i
:=
0
;
i
<
b
.
N
;
i
++
{
err
:=
fsTail
(
ioutil
.
Discard
,
"../
../testdata/1.fs"
,
1000000
)
err
:=
Tail
(
ioutil
.
Discard
,
"
../testdata/1.fs"
,
1000000
)
if
err
!=
nil
{
b
.
Fatal
(
err
)
}
...
...
go/zodb/storage/fs1/
cmd/fstail
/testdata/1.fsdump.ok
→
go/zodb/storage/fs1/
fs1tools
/testdata/1.fsdump.ok
View file @
42c82d33
File moved
go/zodb/storage/fs1/url.go
View file @
42c82d33
...
...
@@ -18,7 +18,7 @@
// See https://www.nexedi.com/licensing for rationale and options.
package
fs1
// open URL support
// open
by
URL support
import
(
"context"
...
...
go/zodb/zodbtools/driver.go
0 → 100644
View file @
42c82d33
// Copyright (C) 2017 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
// it under the terms of the GNU General Public License version 3, or (at your
// option) any later version, as published by the Free Software Foundation.
//
// You can also Link and Combine this program with other software covered by
// the terms of any of the Free Software licenses or any of the Open Source
// Initiative approved licenses and Convey the resulting work. Corresponding
// source of such a combination shall include the source code for all other
// software used.
//
// This program is distributed WITHOUT ANY WARRANTY; without even the implied
// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
package
zodbtools
// infrastructure to organize main tools driver
import
(
"flag"
"fmt"
"io"
"os"
)
// Command describes one zodb subcommand
type
Command
struct
{
Name
string
Summary
string
Usage
func
(
w
io
.
Writer
)
Main
func
(
argv
[]
string
)
}
// CommandRegistry is ordered collection of Commands
type
CommandRegistry
[]
Command
// Lookup returns Command with corresponding name or nil
func
(
cmdv
CommandRegistry
)
Lookup
(
command
string
)
*
Command
{
for
i
:=
range
cmdv
{
if
cmdv
[
i
]
.
Name
==
command
{
return
&
cmdv
[
i
]
}
}
return
nil
}
// HelpTopic describes one help topic
type
HelpTopic
struct
{
Name
string
Summary
string
Text
string
}
// HelpRegistry is ordered collection of HelpTopics
type
HelpRegistry
[]
HelpTopic
// Lookup returns HelpTopic with corresponding name or nil
func
(
helpv
HelpRegistry
)
Lookup
(
topic
string
)
*
HelpTopic
{
for
i
:=
range
helpv
{
if
helpv
[
i
]
.
Name
==
topic
{
return
&
helpv
[
i
]
}
}
return
nil
}
// ----------------------------------------
// MainProg defines a program to run with subcommands and help topics.
type
MainProg
struct
{
Name
string
// name of the program, e.g. "zodb"
Summary
string
// 1-line summary of what program does
Commands
CommandRegistry
// provided subcommands
HelpTopics
HelpRegistry
// provided help topics
}
// Main is the main entry point for the program. Call it from main.
func
(
prog
*
MainProg
)
Main
()
{
flag
.
Usage
=
prog
.
usage
flag
.
Parse
()
argv
:=
flag
.
Args
()
if
len
(
argv
)
==
0
{
prog
.
usage
()
os
.
Exit
(
2
)
}
command
:=
argv
[
0
]
// help on a topic
if
command
==
"help"
{
prog
.
help
(
argv
)
return
}
// run subcommand
cmd
:=
prog
.
Commands
.
Lookup
(
command
)
if
cmd
==
nil
{
fmt
.
Fprintf
(
os
.
Stderr
,
"%s: unknown subcommand
\"
%s
\"\n
"
,
prog
.
Name
,
command
)
fmt
.
Fprintf
(
os
.
Stderr
,
"Run '%s help' for usage.
\n
"
,
prog
.
Name
)
os
.
Exit
(
2
)
}
cmd
.
Main
(
argv
)
}
// usage shows usage text for whole program
func
(
prog
*
MainProg
)
usage
()
{
w
:=
os
.
Stderr
fmt
.
Fprintf
(
w
,
`%s.
Usage:
%s command [arguments]
The commands are:
`
,
prog
.
Summary
,
prog
.
Name
)
for
_
,
cmd
:=
range
prog
.
Commands
{
fmt
.
Fprintf
(
w
,
"
\t
%-11s %s
\n
"
,
cmd
.
Name
,
cmd
.
Summary
)
}
fmt
.
Fprintf
(
w
,
`
Use "%s help [command]" for more information about a command.
`
,
prog
.
Name
)
if
len
(
prog
.
HelpTopics
)
>
0
{
fmt
.
Fprintf
(
w
,
`
Additional help topics:
`
)
for
_
,
topic
:=
range
prog
.
HelpTopics
{
fmt
.
Fprintf
(
w
,
"
\t
%-11s %s
\n
"
,
topic
.
Name
,
topic
.
Summary
)
}
fmt
.
Fprintf
(
w
,
`
Use "%s help [topic]" for more information about that topic.
`
,
prog
.
Name
)
}
}
// help shows general help or help for a command/topic
func
(
prog
*
MainProg
)
help
(
argv
[]
string
)
{
if
len
(
argv
)
<
2
{
// help topic ...
prog
.
usage
()
os
.
Exit
(
2
)
}
topic
:=
argv
[
1
]
// topic can either be a command name or a help topic
command
:=
prog
.
Commands
.
Lookup
(
topic
)
if
command
!=
nil
{
command
.
Usage
(
os
.
Stdout
)
os
.
Exit
(
0
)
}
helpTopic
:=
prog
.
HelpTopics
.
Lookup
(
topic
)
if
helpTopic
!=
nil
{
fmt
.
Println
(
helpTopic
.
Text
)
os
.
Exit
(
0
)
}
fmt
.
Fprintf
(
os
.
Stderr
,
"Unknown help topic `%s`. Run '%s help'.
\n
"
,
topic
,
prog
.
Name
)
os
.
Exit
(
2
)
}
go/zodb/zodbtools/help.go
View file @
42c82d33
...
...
@@ -20,26 +20,6 @@
package
zodbtools
// registry for all help topics
// HelpTopic describes one help topic
type
HelpTopic
struct
{
Name
string
Summary
string
Text
string
}
// HelpRegistry is ordered collection of HelpTopics
type
HelpRegistry
[]
HelpTopic
// Lookup returns HelpTopic with corresponding name or nil
func
(
helpv
HelpRegistry
)
Lookup
(
topic
string
)
*
HelpTopic
{
for
i
:=
range
helpv
{
if
helpv
[
i
]
.
Name
==
topic
{
return
&
helpv
[
i
]
}
}
return
nil
}
const
helpZURL
=
`Almost every zodb command works with a database.
A database can be specified by way of providing URL for its storage.
...
...
go/zodb/zodbtools/
command
.go
→
go/zodb/zodbtools/
main
.go
View file @
42c82d33
...
...
@@ -17,38 +17,23 @@
// See COPYING file for full licensing terms.
// See https://www.nexedi.com/licensing for rationale and options.
// Package zodbtools provides tools for managing ZODB databases
package
zodbtools
// registry for all commands
import
"io"
// Command describes one zodb subcommand
type
Command
struct
{
Name
string
Summary
string
Usage
func
(
w
io
.
Writer
)
Main
func
(
argv
[]
string
)
}
// CommandRegistry is ordered collection of Commands
type
CommandRegistry
[]
Command
// Lookup returns Command with corresponding name or nil
func
(
cmdv
CommandRegistry
)
Lookup
(
command
string
)
*
Command
{
for
i
:=
range
cmdv
{
if
cmdv
[
i
]
.
Name
==
command
{
return
&
cmdv
[
i
]
}
}
return
nil
}
// registry of all zodbtools commands
var
Commands
=
CommandRegistry
{
// NOTE the order commands are listed here is the order how they will appear in help
// TODO analyze ?
// TODO cmp
{
"info"
,
infoSummary
,
infoUsage
,
infoMain
},
{
"dump"
,
dumpSummary
,
dumpUsage
,
dumpMain
},
{
"info"
,
infoSummary
,
infoUsage
,
infoMain
},
{
"dump"
,
dumpSummary
,
dumpUsage
,
dumpMain
},
{
"catobj"
,
catobjSummary
,
catobjUsage
,
catobjMain
},
}
// main zodbtools driver
var
Prog
=
MainProg
{
Name
:
"zodb"
,
Summary
:
"Zodb is a tool for managing ZODB databases"
,
Commands
:
Commands
,
HelpTopics
:
HelpTopics
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment