Skip to content

Conversation

@AbdullahArafat27
Copy link

This pull request adds command-line argument parsing for a --verbose flag using argparse. It also sets up logging configuration to adjust the logging level based on whether verbose mode is enabled. When the verbose flag is used, logging will output detailed debug information; otherwise, it defaults to info level logs.

Changes include:

Added parse_args() function to handle command-line arguments with a --verbose option.

Added setup_logging(verbose) function to configure logging levels and format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant