budibase/packages/cli/src/commands/run/index.js

17 lines
511 B
JavaScript
Raw Normal View History

2019-10-11 18:14:23 +02:00
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
}