Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to be launched directly as a command. #82

Open
AoEiuV020 opened this issue Nov 4, 2024 · 1 comment
Open

Unable to be launched directly as a command. #82

AoEiuV020 opened this issue Nov 4, 2024 · 1 comment

Comments

@AoEiuV020
Copy link

After installing with

dart pub global activate import_sorter

the import_sorter command cannot be used directly.

It’s recommended to support this feature for easier reuse of import_sorter across multiple projects.

For example, I’m using it with Melos, where a project contains multiple apps/packages, and I plan to use a single command to organize all the code. Currently, I can only use:

dart pub global run import_sorter:main

which is quite awkward.

@vkammerer
Copy link
Collaborator

This is something that could be handled by the next maintainer once #84 is resolved

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

No branches or pull requests

2 participants