File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,8 +5,7 @@ class VersionTwoConfig:
55 def __init__ (self ):
66 parser = argparse .ArgumentParser (
77 prog = 'VersionTwo' ,
8- description = "Render an HTML page from a collection of GitHub Issues and Pull Requests, "
9- "NOTE: `--include-user GITHUB_USER_ID` is a required parameter" ,
8+ description = "Render an HTML page from a collection of GitHub Issues and Pull Requests"
109 )
1110
1211 parser .add_argument (
@@ -15,8 +14,7 @@ def __init__(self):
1514 action = "append" ,
1615 type = str ,
1716 nargs = "+" ,
18- help = "Include all issues and PRs for the provided user [Required Parameter]" ,
19- required = True ,)
17+ help = "Include all issues and PRs for the provided user [Required Parameter]" ,)
2018
2119 parser .add_argument (
2220 "--include-repository" ,
@@ -104,9 +102,9 @@ def __init__(self):
104102
105103 def display_config (self ):
106104 print ("Configuration:" )
105+ print (f"Include User: { self .include_user } " )
107106 print (f"Include Repository: { self .include_repository } " )
108107 print (f"Include Organization/Repository: { self .include_organization_repository } " )
109- print (f"Include User: { self .include_user } " )
110108 print (f"Include Label: { self .include_label } " )
111109 print (f"Exclude Organization: { self .exclude_organization } " )
112110 print (f"Exclude Repository: { self .exclude_repository } " )
Original file line number Diff line number Diff line change 1- from version_two_config import VersionTwoConfig
1+ from src . version_two_config import VersionTwoConfig
22
33
44def main ():
You can’t perform that action at this time.
0 commit comments