mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-07 03:10:11 +08:00
refactor: cli
This commit is contained in:
1 parent
4ab3096fa5
commit
7c1d83ccd3
3 files changed
No files matched your search
@@ -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()
|
||||
Reference in new issue
Block a user