Parse comments from various source files.
### extract_comments Signature
def extract_comments(filename, mime=None): """Extracts and returns the comments from the given source file. Args: filename: String name of the file to extract comments from. mime: Optional MIME type for file (str). Note some MIME types accepted don't comply with RFC2045. If not given, an attempt to deduce the MIME type will occur. Returns: Python list of parsers.common.Comment in the order that they appear in the source file. Raises: UnsupportedError: If filename is of an unsupported MIME type. """
## Supported Programming Languages
- Shell scripts (Bash, sh, etc.)
- More to come!
Check comment_parser.py for corresponding MIME types.