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

Command to list available build targets #11013

Open
ElectreAAS opened this issue Oct 15, 2024 · 0 comments
Open

Command to list available build targets #11013

ElectreAAS opened this issue Oct 15, 2024 · 0 comments

Comments

@ElectreAAS
Copy link
Collaborator

This feature request is more of a wish list than anything.

Description of the feature

I'd like a command like dune list-targets that only outputs build targets that a human would manually type, nothing intermediary. dune describe targets/aliases both do something kind of similar, but not really accurately.

Usage

  • For newcomers and mistypers: they might not know/remember that they should type dune build src/main.exe, even though main.exe isn't a file they have.
  • It would make shell completion for dune build really easy, and that's a feature in and of itself. Fish does this with make, and it's a really nice UX.
  • In a project that has a lot of tests that might be ran differently (like dune itself), having a confirmation that it's dune build @feature-repro and not feature_repro for example, makes development easier.

Priority

No

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

No branches or pull requests

1 participant