-
Notifications
You must be signed in to change notification settings - Fork 489
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
Tracking issues of RFC-0423: Command Line Interface #422
Comments
We can use opendal to replace tools like |
/assignme |
This issue is too general. @eastfisher please feel free to create sub-issues and link here. |
How about adding a Like mc(MinIO Client): https://min.io/docs/minio/linux/reference/minio-mc.html#create-an-alias-for-the-s3-compatible-service |
Oh, it seems that |
Hi, @Zheaoli. Maybe you wanna take a look at this issue. After hard working from @eastfisher, And in next stage, we will to implement:
After those work, we can try to replace the usage of |
@Xuanwo Hi, Before I can start, I would like to introduce a config file to The config file consists of multiple # ~/.oli/config.toml
[[profiles]]
name = "mys3" # required
service = "s3" # required
endpoint = "" # optional
access-key = "<redacted>"
secret-key = "<redacted>"
[[profiles]]
name = "myaz" # required
service = "azblob" # required
endpoint = "" # optional
access-key = "<redacted>"
secret-key = "<redacted>" When users want to interact with multiple services, like copying objects across services, they need to run
Please note that the profile name is used as scheme to distinguish different services here. I think the advantages of the config file over env vars including but not limited to:
@Xuanwo WDYT? |
LGTM! |
Wow I didn't expect to get an instant reply 😂 I would like to work on the config schema definition and loading logic first. |
I think we can hide the bucket from the path and move it into the config profile? |
Yes, this way we no longer need to handle the bucket specially. |
I am hesitant to add the bucket to the config file, as users might want to access different buckets in the same account. As a user, I don't want to create different profiles for different buckets in the same account. |
@Xuanwo Do you think it is necessary to open separate issue to track the implementation of each command? |
I think it's a good idea! |
Todo List
We will implement a quick demo that only supports cp from local to remote.
Future
The text was updated successfully, but these errors were encountered: