2020-02-03 10:24:25 +01:00
|
|
|
const handler = require("./runHandler")
|
2019-10-11 18:14:23 +02:00
|
|
|
|
|
|
|
module.exports = {
|
2020-02-03 10:24:25 +01: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",
|
|
|
|
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,
|
2019-10-11 18:14:23 +02:00
|
|
|
}
|