Replies: 1 comment 1 reply
|
This poll is missing an option "No, but this should be overridable". I think this is debatable, and as one datapoint I use the current behavior and I rarely use |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
TL;DR: I think running
justin a given directory should list available recipes (the equivalent ofjust --list).The current behavior of running the first defined recipe is a carryover from
make. It's not at all obvious to me, however, that this is a good design. The precedent for running commands without arguments is to display some kind of information. This usually takes the form of printing a version number or a help message. It's usually the first thing a user does when they can't be bothered to read documentation.Optionally, this behavior could be overridden in the
justfileor in an environment variable somehow, for those who want to preserve themake-like behavior. But I see no reason other than convention (tradition, really) that it remains the default.This is admittedly opinionated, but I would argue so is the current behavior.
7 votes ·
All reactions