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

21 lines
436 B
JavaScript

const handler = require("./newHandler")
module.exports = {
command: "new <name> [dir]",
desc: "Create a new Budibase app",
builder: yargs => {
yargs.positional("name", {
type: "string",
describe: "the name of your app",
alias: "n",
})
yargs.positional("dir", {
type: "string",
describe: "budibase apps directory",
alias: "d",
default: "~/.budibase",
})
},
handler,
}