@@ -149,6 +149,7 @@ async def process_reports(
149
149
output_path = self ._validate_directory (path )
150
150
151
151
self .log .debug ("Attempting to retrieve policy IDs." )
152
+ await animation .update_msg ("Retrieving policy IDs from Jamf..." )
152
153
try :
153
154
patch_ids = await self .api_client .get_policies ()
154
155
self .log .info (f"Retrieved policy IDs for { len (patch_ids )} policies." )
@@ -159,6 +160,7 @@ async def process_reports(
159
160
)
160
161
161
162
self .log .debug ("Attempting to retrieve patch summaries." )
163
+ await animation .update_msg ("Retrieving patch summaries from Jamf..." )
162
164
try :
163
165
patch_reports = await self .api_client .get_summaries (patch_ids )
164
166
self .log .info (f"Received policy summaries for { len (patch_reports )} policies." )
@@ -170,22 +172,27 @@ async def process_reports(
170
172
171
173
# (option) Sort
172
174
if sort :
175
+ await animation .update_msg ("Sorting reports..." )
173
176
patch_reports = await self ._sort (patch_reports , sort )
174
177
175
178
# (option) Omit
176
179
if omit :
180
+ await animation .update_msg ("Omitting recent releases..." )
177
181
patch_reports = await self ._omit (patch_reports )
178
182
179
183
# (option) iOS
180
184
if ios :
185
+ await animation .update_msg ("Including iOS info..." )
181
186
patch_reports = await self ._ios (patch_reports )
182
187
183
188
# Generate reports
189
+ await animation .update_msg ("Generating Excel file..." )
184
190
excel_file = await self ._generate_excel (
185
191
patch_reports = patch_reports , reports_dir = output_path
186
192
)
187
193
188
194
if pdf :
195
+ await animation .update_msg ("Generating PDF report..." )
189
196
await self ._generate_pdf (excel_file = excel_file , date_format = date_format )
190
197
191
198
# Manually stop animation to show success message cleanly
0 commit comments