Skip to content

dub run <package> should search the registry on failure #877

Closed
@wilzbach

Description

@wilzbach

Imho the following error message is a bit tricky to newcomers:

> dub run dlang-tour
Failed to find a package named 'dlang-tour'.

There are two easy solutions to this problem:

  1. print a hint like 'Have you downloaded the package? Try dub fetch <pkg>
  2. Automatically try to run dub fetch if dub run fails to find a package locally (preferred)

What do you prefer?

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