@staticdeploy/cli
CLI tool to create and deploy bundles.
Install
npm i -g @staticdeploy/cli
Use
A valid config file has the following structure:
module.exports = {
bundle: {
},
deploy: {
}
};
Options can also be passed as upper-cased, snake-cased, environment variables
prefixed by STATICDEPLOY_. Eg:
export STATICDEPLOY_API_URL=...
export STATICDEPLOY_API_TOKEN=...
Option sources have the following priority:
- command line flags
- environment variables
- configuration defined in the config file
Meaning for example that when an option is provided both as a command line flag
and as an environment variable, the value provided with the command line flag is
used.