Skip to content

Commit cc41280

Browse files
Apply suggestions from code review
Co-authored-by: Andrew Brandt <andrew.brandt@hashgraph.com> Signed-off-by: dpswirld <diogo.pereira@swirldslabs.com>
1 parent 8541cbb commit cc41280

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

current-implemented-CLI.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
## Currently Implemented
44

5-
6-
- `include-team` - Include a team to the query
7-
- `output-file` - Define the filename and location of the output file
85
- `output-file` - Define the filename and location of the output file
96
- `temp-dir` - The temporary directory to write JSON response files
7+
108
- `include-team` - Include a team to the query
119

1210

src/version2config.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,6 @@ def init_parser(self):
5454
help="Include all issues and PRs for the provided user [Required Parameter]"
5555
)
5656

57-
parser.add_argument(
58-
"--include-team",
59-
dest="include_team",
60-
action="append",
61-
type=str,
62-
help="Include provided teams in the output"
63-
)
64-
65-
parser.add_argument(
66-
"--exclude-team",
67-
dest="exclude_team",
68-
action="append",
69-
type=str,
70-
help="Exclude provided teams in the output"
71-
)
72-
7357
parser.add_argument(
7458
"--include-repository",
7559
dest="include_repository",
@@ -164,7 +148,6 @@ def init_parser(self):
164148
self.temp_dir = parsed_args.temp_dir
165149
self.include_team = parsed_args.include_team
166150
self.include_user = parsed_args.include_user
167-
self.include_team = parsed_args.include_team
168151
self.include_repository = parsed_args.include_repository
169152
self.include_organization = parsed_args.include_organization
170153
self.include_organization_repository = parsed_args.include_organization_repository
@@ -175,7 +158,6 @@ def init_parser(self):
175158
self.exclude_organization = parsed_args.exclude_organization
176159
self.exclude_organization_repository = parsed_args.exclude_organization_repository
177160
self.exclude_label = parsed_args.exclude_label
178-
self.exclude_team = parsed_args.exclude_team
179161
self.publish_board = parsed_args.publish_board
180162

181163
def init_logger(self):
@@ -200,5 +182,4 @@ def display_config(self):
200182
logging.info(f"Exclude Organization: {self.exclude_organization}")
201183
logging.info(f"Exclude Organization/Repository: {self.exclude_organization_repository}")
202184
logging.info(f"Exclude Label: {self.exclude_label}")
203-
logging.info(f"Exclude Team: {self.exclude_team}")
204185
logging.info(f"Publish Board: {self.publish_board}")

0 commit comments

Comments
 (0)