Update notifications for your CLI app
Overall
score
97%
Build a lightweight command-line tool that checks if a newer version of itself is available and displays appropriate update notifications to users.
Your tool should:
Create a CLI application with the following behavior:
package.jsonNO_UPDATE_NOTIFIER environment variable is set, no update check occurs @test@generates
#!/usr/bin/env node
/**
* Main CLI entry point that performs update checking
* and displays notifications when updates are available.
*/Provides non-intrusive update notifications for CLI applications with zero performance impact through background checking.
Install with Tessl CLI
npx tessl i tessl/npm-update-notifierdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10