-
Notifications
You must be signed in to change notification settings - Fork 971
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
read meta-url from variable #5226
Comments
Agree, but it would make more sense to be |
agree, would like to see all juicefs variables prefixed as is common elsewhere -- JFS_ or JUICEFS_ |
So if I run |
Yes. If $JUICEFS_META_URL is set, it fits a validation schema and
Following the same steps above, the URL fits validation URL schema then it will error on no mount point specified. |
It's better to keep the command arguments consistent. The
It support multiple volumes in the same time, maybe we can do the same thing here:
But, we use |
What would you like to be added:
juicefs
cli should read meta-url from an environment variable by if set.I suggest JFS_URL
If the meta-url is specified on the command line, it should take precedence.
Why is this needed:
it makes the cli nicer to use not having to specify the url each time it is required.
The text was updated successfully, but these errors were encountered: