Skip to content

Unable to be launched directly as a command. #82

@AoEiuV020

Description

@AoEiuV020

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.

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