Skip to content

Improve UX when using default tasks #5902

@lefou

Description

@lefou

Default tasks allow shorter CLI arguments. E.g. mill foo.test.testForked can be written as mill foo.test. While convenient, it hides the effective structure of the project. Therefore I propose to output some info when Mill applies a defaultTask to make a CLI call work. Users not so familiar with the project structure have a chance to learn what really happens en passant.

> mill foo.test
Expanding default task of foo.test => foo.test.testForked

Originally posted by @lefou in #5898

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