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(input option): change getopt to argparse and add -c(output count) input option
[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():
9
path, account_id, password, output_count = btmvalidation.validate_input()
10
btmtransaction.handle_input(path, account_id, password, output_count)
11
12
13
if __name__ == "__main__":
14
sys.exit(main())