OSDN Git Service
(root)
/
bytom
/
bytom-spanner.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
feat(handle transaction): complete handle transaction function
[bytom/bytom-spanner.git]
/
main.py
1
#!/usr/bin/env python3
2
3
import sys
4
import btmvalidation
5
import btmtransaction
6
7
8
def main(argv=None):
9
if argv is None:
10
argv = sys.argv
11
path, account_id, password = btmvalidation.validate_input(argv)
12
btmtransaction.handle_input(path, account_id, password)
13
14
15
if __name__ == "__main__":
16
sys.exit(main())