koushiro commented on PR #5233: URL: https://github.com/apache/opendal/pull/5233#issuecomment-2431464574
> Hi, I implemented this to support the use of a proxy as follows: > > ``` > ln oli ocp > ocp <src> <dst> > > ln oli ols > ols <src> > ``` > > Users can use `ocp` in exactly the same way as `oli cp`. > I encountered two problems: 1. The previous (before this PR) implementation had the following problem: ``` ➜ oli git:(main) ln target/release/oli ols ➜ oli git:(main) ✗ ./ols src error: 'ols' requires a subcommand but one was not provided Usage: ols [OPTIONS] <target> For more information, try '--help'. ``` 2. If we use `clap_derive` and want to support the proxy manner that you mentioned, then we cannot use the global default config arg, and we need to add a default config for each cmd, can you accept this implementation? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
