1.0.0 • Published 2 years ago
aem-debugging-cli v1.0.0
JS Log File
A utility used to debug AEM
How to configure
The CLI will check the following locations in this order for configurations:
- A .cqsupport file in the folder that node is running the app
- Example:
- cd /Users/john/Desktop
- node tryingitout/main.js c v
- The .cqsupport file needs to be in the Desktop folder since node is running from there
Environment variables in the users shell
A .cqsupport file in the users home directory
Using the CLI
- Init the cli: node main.js c i
- Set the config: node main.js c sb
- View the configs: node main.js c v
Alternatives
A) Create a local .cqsupport file in the folder that you are currently running the app from
Example:
CQ_SERVER_URL=https://google.com
CQ_SERVER_ALIAS=alias_1
CQ_SERVER_AUTH=BASIC
CQ_SERVER_PWD=test
CQ_SERVER_USER=test
B) Configure environment variables
Example:
export CQ_SERVER_URL=https://abc.com
export CQ_SERVER_ALIAS=alias_1
export CQ_SERVER_AUTH=BASIC
export CQ_SERVER_PWD=test
export CQ_SERVER_USER=test
Project Stuff
How to run
node main.js
How to build
- npm install
- npm run build:esm
How to test
- npm install
- npm test
How to enable watch
- npm install
- npm run build:watch
Contributors
1.0.0
2 years ago