init
Creates a starter deploy.ts or deploy.js file, then installs @catapultjs/deploy as a dev dependency with the detected package manager unless you pass --skip-install.
Usage
bash
npx @catapultjs/deploy initOptions
| Option | Description |
|---|---|
--skip-install | Create the config file without installing @catapultjs/deploy |
What it does
- Prompts you to choose TypeScript or JavaScript.
- Creates
deploy.tsordeploy.jsin the current directory. - Installs
@catapultjs/deploywith the detected package manager, unless you use--skip-install.
Examples
bash
npx @catapultjs/deploy init
npx @catapultjs/deploy init --skip-installThis command does not require a deploy config file.