2019-10-11 18:14:23 +02:00
|
|
|
const handler = require("./runHandler");
|
|
|
|
|
|
|
|
module.exports = {
|
2019-10-12 08:50:32 +02:00
|
|
|
command: "run [config]",
|
|
|
|
aliases: ["$0"],
|
|
|
|
desc: "Start budibase Server. You can access your apps and the builder from here if you have dev=true in your config",
|
2019-10-11 18:14:23 +02:00
|
|
|
builder: yargs => {
|
|
|
|
yargs.positional("config", {
|
|
|
|
type: "string",
|
|
|
|
describe: "config file to use. optional, defaults to config.js. Use 'dev' as shorthand for 'config.dev.js' ",
|
|
|
|
alias: "c",
|
|
|
|
default: "config.js"
|
|
|
|
})
|
|
|
|
},
|
|
|
|
handler
|
|
|
|
}
|
|
|
|
|