docker-archive / compose-cli

Easily run your Compose application to the cloud with compose-cli
Apache License 2.0
956 stars 253 forks source link

cli: fix warnings on 'docker context use' #2191

Closed nicks closed 1 year ago

nicks commented 1 year ago

What I did fix warnings on 'docker context use'

Related issue Fixes https://github.com/docker/cli/issues/3765

(not mandatory) A picture of a cute animal, if possible in relation with what you did PXL_20220806_232348931 MP

nicks commented 1 year ago

this is more of a "question in the form of a PR". I don't really understand why these cobra Command implementations forked the upstream implementations - I didn't see anything that the fork was adding. I would also be open to trying to reconcile the differences, but this way seemed easier.

nicksieger commented 1 year ago

I can't tell much from the commit history, it looks like the context commands here evolved around the same time or a little bit after those in docker/cli. Originally maybe there were reasons for that? @rumpl @ulyssessouza?