Polaris CLI
This is the CLI for the Polaris SLO Cloud project.
For more information, please have a look at the Polaris CLI documentation.
Debugging the CLI:
To debug the Polaris CLI, follow these steps:
-
Build the CLI:
nx build polaris-cli --skip-nx-cache=true --sourceMap=true
-
Run the polaris-nx E2E tests:
nx e2e polaris-nx-e2e
-
Open a JavaScript Debug Terminal in VS Code and navigate to the folder
tmp/nx-e2e/proj
. -
Set breakpoints in the Polaris CLI code and run the command you want to debug:
node ../../../dist/apps/polaris-cli/src/main.js <cmd>