File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change
1
+ __version__ = '1.0.0'
Original file line number Diff line number Diff line change 1
1
import argparse
2
2
import sys
3
3
4
+ import bakrep
4
5
import bakrep .download
5
6
6
7
@@ -15,7 +16,11 @@ def main(argv):
15
16
parser = argparse .ArgumentParser (
16
17
add_help = True ,
17
18
prog = 'bakrep' ,
18
- description = 'A tool to download bakrep datasets' )
19
+ description = 'A CLI tool to download BakRep datasets' ,
20
+ epilog = f'Version: { bakrep .__version__ } \n DOI: 10.1099\n mgen.0.001305\n URL: https://bakrep.computational.bio/about' ,
21
+ formatter_class = argparse .RawDescriptionHelpFormatter
22
+ )
23
+ parser .add_argument ('--version' , action = 'version' , version = f'%(prog)s { bakrep .__version__ } ' )
19
24
20
25
sub_parsers = parser .add_subparsers (title = "actions" , required = True , )
21
26
download_parser = sub_parsers .add_parser ('download' )
You can’t perform that action at this time.
0 commit comments