COMBINE-lab / simpleaf

A rust framework to make using alevin-fry even simpler
BSD 3-Clause "New" or "Revised" License
42 stars 3 forks source link

feat: adding log for parsing commands #73

Closed DongzeHE closed 1 year ago

DongzeHE commented 1 year ago

As I could not make clapp::parse_from() ro return Result<>, the think I can do to improve the log is to say beforehand which command is being proceed. This commit adds something like the following:

2023-04-09T18:54:14.841654Z  INFO simpleaf::simpleaf_commands::workflow: Processing simpleaf workflow configuration file.
2023-04-09T18:54:14.887752Z  INFO simpleaf::utils::workflow_utils: Skipping simpleaf index command for Step 9
2023-04-09T18:54:14.887769Z  INFO simpleaf::utils::workflow_utils: Skipping simpleaf quant command for Step 10
2023-04-09T18:54:14.887786Z  INFO simpleaf::utils::workflow_utils: Parsing gunzip command for Step 4
2023-04-09T18:54:14.887799Z  INFO simpleaf::utils::workflow_utils: Parsing awk command for Step 8
2023-04-09T18:54:14.887807Z  INFO simpleaf::utils::workflow_utils: Parsing awk command for Step 6