Programmatically manage your env settings using the env
commands below. Env settings include: requirements.txt
, availableSources.json
, and availableTargets.json
.
Env Download
Description
Clones the remote env settings saved in hotglue to your local machine.
Sample
$ hotglue env download [--downloadTo]
✔ Finished: Verifying user and authorizing.
✔ Finished: Scanning environment dev.hotglue.acme.com.
ℹ Info: Downloading to ./projects/cin7.
✔ Finished: Downloading file: requirements.txt.
┌──────────────────┬────────────┐
│ File │ Status │
├──────────────────┼────────────┤
│ requirements.txt │ Downloaded │
└──────────────────┴────────────┘
Parameters
Option | Default | Description |
---|
--downloadTo | | |
-d | . | The directory to download the ETL to. Defaults to the local directory. |
Env Deploy
Description
Deploys the local ETL script to hotglue.
Sample
$ hotglue env deploy [--sourceFolder]
✔ Finished: Scanning ./projects/cin7 for deployable files.
✔ Finished: Verifying user and authorizing.
ℹ Info: Deploying environment files.
✔ Finished: Pushing file: requirements.txt.
┌──────────────────┬──────────┐
│ File │ Status │
├──────────────────┼──────────┤
│ requirements.txt │ Deployed │
└──────────────────┴──────────┘
Parameters
Option | Default | Description |
---|
--sourceFolder | | |
-s | . | The directory to upload the ETL script from. Defaults to the local directory. |