Comments (4)
it worked, I just had to push recipe to come after the optional arguments. But still, it should work either way.
from just.
It would be next to impossible to allow both ways. What if a recipe that is called can accept options that have meaning to Just? If you allowed both how would you specify that the option that was written after a recipe was actually for Just and not the recipe?
from just.
You're right, that would be confusing. I think it customarily handled with --
to indicate that whatever comes next is arguments for the command called.
from just.
Yes, but many (most ?) people forget about --
. It is also a UNIX standard to put all options for a command after the command and before all other arguments. Depending on the command there is no possible consequence to putting options anywhere on the command line. But that is only true for a relatively small subset of all common commands on a system. Allowing this but requiring --
to avoid issues is error prone and can fail without explanation depending on the contents of the target recipe or possibly sup recipe calls. Where as it stands currently it just fails immediately and is easy to recognize and recover from.
from just.
Related Issues (20)
- JSON dump stablity HOT 3
- indentation in fmt
- --choose side pane not using correct just file
- Quoting problems on Windows HOT 2
- [Feature] Support globbing with includes directive HOT 1
- Add optional architecture attribution to receipt attribute annotations HOT 3
- Add ansi colors as baked in variables
- [Feature] Support wildcard target HOT 3
- `just` raises unclear error HOT 1
- Support for global justfiles HOT 4
- Exporting SUDO_ASKPASS has no effect HOT 1
- Proposal positional arguments support in `just` for shell like nushell etc. HOT 1
- [Feature] Support for executing multiple Just commands with a prefix or wildcard notation.
- string interpolation issue HOT 2
- Can `just` load .env from sub-directory? HOT 1
- Conditional dependencies? HOT 1
- Make the `else` branch of a conditional optional HOT 1
- `trim_end_match` doesn't work as expected HOT 1
- How to enable awk support? HOT 3
- Concise reporting of aliases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from just.