Skip to content
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

Make update check faster #174

Open
passsy opened this issue Jan 10, 2023 · 0 comments
Open

Make update check faster #174

passsy opened this issue Jan 10, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers sidekick_core https://pub.dev/packages/sidekick_core update `<cli> sidekick update` issues

Comments

@passsy
Copy link
Contributor

passsy commented Jan 10, 2023

sidekick checks for new sidekick updates after a command is executed.

// TODO start the update check in the background at command start
// TODO prevent multiple update checks when a command start another command
await _checkForUpdates();

It would be faster to check for updates while the command is executing and print the result in the end.

@passsy passsy added enhancement New feature or request sidekick_core https://pub.dev/packages/sidekick_core update `<cli> sidekick update` issues good first issue Good for newcomers labels Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers sidekick_core https://pub.dev/packages/sidekick_core update `<cli> sidekick update` issues
Projects
None yet
Development

No branches or pull requests

1 participant