Skip to content

Support asyncclick? #38

Open
Open

Description

@makkus

Hi there,

it would be great if this could also support asyncclick. The changes involved would be fairly minimal, just replacing the click import with:

try:
    import asyncclick as click
except:
    import click

in _loader.py would suffice. This would assume that when asyncclick is installed, it should be used (since there is no other reason to install it alongside 'normal' click I can imagine. If that is considered not good enough, it would only be a few more lines to add an instance test against asyncclick.BaseCommand alongside the one against click.BaseCommand.

Thanks for considering!

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions