cli check for update

This commit is contained in:
Oleksandr Honcharov
2024-06-13 21:16:52 +03:00
parent 839dff9b78
commit 396e9c0ee6
6 changed files with 53 additions and 6 deletions
+3
View File
@@ -1,6 +1,9 @@
import yargs from 'yargs'
import create from './commands/create'
import { checkForUpdate } from './utils/update'
yargs.middleware(checkForUpdate)
yargs
.usage('<cmd> [args]')