update checker middleware

This commit is contained in:
2024-06-13 19:41:05 +01:00
parent 9204eb81be
commit 04412d7cbc
3 changed files with 16 additions and 13 deletions
-3
View File
@@ -1,9 +1,6 @@
import yargs from 'yargs'
import create from './commands/create'
import { checkForUpdate } from './utils/update'
yargs.middleware(checkForUpdate)
yargs
.usage('<cmd> [args]')