ewels / rich-click

Format click help output nicely with rich.
https://ewels.github.io/rich-click/
MIT License
583 stars 33 forks source link

Bugs (a) generating svg/html with decorator. (b) with root directory scripts #189

Closed dwreeves closed 2 months ago

dwreeves commented 2 months ago

(b) is easy enough to address:

    try:
        module = import_module(module_path)
    except ModuleNotFoundError:
        sys.path.append(".")
        module = import_module(module_path)

I originally added something like this into the code, but decided against it because it caused extreme edge case errors.

(a) is unknown to me. Will have to dive deep into that.

dwreeves commented 2 months ago

Fixed