circleci-cli icon indicating copy to clipboard operation
circleci-cli copied to clipboard

Brew install - update after executing command

Open dltacube opened this issue 2 years ago • 4 comments

Check for circleci updates at the end of my command

Nearly every day I'll try to run a quick circleci command from the terminal and the CLI tool will check for updates and then execute my command. This isn't a huge deal and I know I can disable updates altogether but I would actually rather keep things up-to-date and do like the automatic update check.

But typing something as simple as circleci open shouldn't take 5 seconds because it's waiting to see if there is an update to circleci before opening up my browser.

My suggestion is really simple: execute whatever command the user has entered first, and then check for updates. I believe the github cli gh works exactly like this.

dltacube avatar Feb 10 '23 15:02 dltacube

Hi @dltacube , thanks for your suggestion. I will check internally with the team, and get back to you asap

abdelDriowya avatar May 10 '23 14:05 abdelDriowya

@abdelDriowya you guys may have fixed this cause it hasn't happened in a while.

/edit never mind, it seems to be happening still but is somehow less intrusive.

dltacube avatar Feb 08 '24 22:02 dltacube

This is also bugging me every day, which is a testament to how useful this CLI is 😁 ....but maybe a more sane default would be to check for updates every week or two?

rsanheim avatar Jul 01 '24 18:07 rsanheim

Looks like this workaround in bash profile will disable auto updates:

export CIRCLECI_CLI_SKIP_UPDATE_CHECK=true

rsanheim avatar Jul 01 '24 18:07 rsanheim