my-git9
my-git9
/cc @fisherxu
It looks like it's because of these two lines:
> Is this fixing any bugs? Just a small improvement
> Hi @my-git9, thanks a lot! You can pick the related task as #2579 said. OK~~
> I made some changes on your patch, please reference: > > ```go > func TestInfo_String(t *testing.T) { > tests := []struct { > name string > info Info >...
> On this note, I think a real improvement would be to refactor this code to use > > https://github.com/argoproj/argo-cd/blob/7bd9e1eb83df515f1f558b2a524ffb5f8b2e935a/util/cli/cli.go#L115 > > :) Hi @jannfis , according to your suggestion,...
> Sorry for letting this sit. I think this is a reasonable improvement. @my-git9 would you like to rebase and re-open this PR? You can just assign it to me....
/assign @RainbowMango
Yes, it seems that this PR has a lot of limitations
The test result: ```shell $ ./dist/argocd repo rm https://gitlab.daocloud.cn/xin.li/argocd-example.git https://gitlab.daocloud.cn/xin.li/alpine.git Are you sure you want to remove 'https://gitlab.daocloud.cn/xin.li/argocd-example.git'?[y/n/A] where 'A' is to remove all specified repo without prompting A Repository...