2021-03-22 16:43:26 +01:00
|
|
|
// const { join } = require("path")
|
|
|
|
// const { homedir } = require("os")
|
2020-10-28 23:14:13 +01:00
|
|
|
|
2021-03-22 16:43:26 +01:00
|
|
|
// // const initialiseBudibase = require("../src/utilities/initialiseBudibase")
|
|
|
|
// // const DIRECTORY = "~/.budibase"
|
2020-10-28 23:14:13 +01:00
|
|
|
|
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)
|
|
|
|
// }
|
2020-10-28 23:14:13 +01:00
|
|
|
|
2021-03-22 16:43:26 +01:00
|
|
|
// run().then(() => {
|
|
|
|
// console.log("Init complete.")
|
|
|
|
// })
|