refactor: cli

This commit is contained in:
wancat committed 2024-02-19 18:36:50 +08:00
1 parent 4ab3096fa5
commit 7c1d83ccd3
3 files changed

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
/* eslint-disable no-console */
import { genSecret } from '../utils/env.js'
function setup() {
console.log('Setting up .env file...')
const secret = genSecret()
console.log(`SECRET_KEY=${secret}`)
}
setup()