-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
using --config in cli fails, File not found #15768
Comments
looks like even though --config is available for all commands it must appear after the command which was not intuitive for me and makes it near impossible to have an alternative toml file for all commands. As long you are are willing to use ~/.bun all is fine but I want not to run bun as a particular user.
and on top of that this fails.
|
for --config=path the = is not optional because there is parsing ambiguity whether it’s meant as a boolean to load the config or a specific path yeah this is confusing |
code is fine but the help was....not helpful :). should indicate what you just wrote. It says nothing about using as a boolean only as specify path nor does it indicate that = is required when giving path. so from to this |
What version of Bun is running?
1.1.38+bf2f153f5
What platform is your computer?
linux arch/manjaro. Linux 6.6.54-2-MANJARO x86_64 unknown
What steps can reproduce the bug?
--config is not working for me on linux, just upgraded to 1.1.38, still not working
this is my bash script to run bun
/opt/bun/bun --config /opt/bun/bunfig.toml "$@"
bun below is script above
bun binary and bunfig are indeed in /opt/bun
you can even cat the toml file using same path
The text was updated successfully, but these errors were encountered: