Skip to content

Files

Latest commit

60769d4 · Jul 11, 2022

History

History
This branch is 88 commits behind polaris-slo-cloud/polaris-slo-framework:master.

polaris-cli

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:

  1. Build the CLI:

    nx build polaris-cli --skip-nx-cache=true --sourceMap=true
  2. Run the polaris-nx E2E tests:

    nx e2e polaris-nx-e2e
  3. Open a JavaScript Debug Terminal in VS Code and navigate to the folder tmp/nx-e2e/proj.

  4. Set breakpoints in the Polaris CLI code and run the command you want to debug:

    node ../../../dist/apps/polaris-cli/src/main.js <cmd>