budibase/packages/server/scripts/initialise.js

18 lines
470 B
JavaScript
Raw Normal View History

2021-03-22 16:43:26 +01:00
// const { join } = require("path")
// const { homedir } = require("os")
2021-03-22 16:43:26 +01:00
// // const initialiseBudibase = require("../src/utilities/initialiseBudibase")
// // const DIRECTORY = "~/.budibase"
2021-03-22 16:43:26 +01:00
// function run() {
// let opts = {}
// // let dir = DIRECTORY
// opts.quiet = true
// // opts.dir = dir.startsWith("~") ? join(homedir(), dir.substring(1)) : dir
// return initialiseBudibase(opts)
// }
2021-03-22 16:43:26 +01:00
// run().then(() => {
// console.log("Init complete.")
// })