17 lines
511 B
JavaScript
17 lines
511 B
JavaScript
|
const handler = require("./runHandler");
|
||
|
|
||
|
module.exports = {
|
||
|
cmd: "run [config]",
|
||
|
description: "Start budibase. 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
|
||
|
}
|
||
|
|