Update notifications for your CLI app
Overall
score
97%
Build a command-line tool that checks for updates to itself and notifies users when newer versions are available. The tool should be context-aware and behave appropriately in different execution environments.
Your tool should:
@generates
/**
* Entry point for the CLI tool
* Checks for updates and displays notifications based on context
*/
function main() {
// IMPLEMENTATION HERE
}
module.exports = { main };Provides update checking and notification capabilities with context-aware behavior.
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