Skip to content

Add -v/--verbose/-V/--very-verbose options #2

@DavidGinzberg

Description

@DavidGinzberg

From source:

...
#TODO: Add a -v/--verbose option for the excessive print statements below. Consider both `-v` `-V` (AKA: VERY VERBOSE, which is currently the default)
...
    for row in table.findAll('tr'):
      print(f"Processing row number {rowcount}")
      rowcount += 1
      cols = row.findAll(['td','th'])
      print(f"Found {len(cols)} columns.")
...

Output during processing is now a little excessive. Some of the output is useful for debugging but should be off by default. Adding verbosity flags gives the user some flexibility here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions