budibase/packages/cli/src/hosting/index.js

11 lines
497 B
JavaScript
Raw Normal View History

2021-02-25 15:42:50 +01:00
const Option = require("../utils/Option")
2021-02-24 18:32:45 +01:00
2021-02-25 15:42:50 +01:00
const option = new Option("-h", "hosting")
.addHelp("Controls self hosting on the Budibase platform.")
.addSubOption("init", "Configure a self hosted platform in current directory.")
.addSubOption("start", "Start the configured platform in current directory.")
.addSubOption("stop", "Stop the configured platform in the current directory.")
.addSubOption("update", "Updates the Budibase images to the latest version.")
exports.option = option