Skip to main content

print:cli.js

The print:cli.js outputs the current CLI variables that you can retrieve with the get run script.

It aims to allow you to quickly verify these configuration values from the command line.

Run npm run print:cli.js in the root to trigger this script. The output will depend on your local setup, but below is an example:

   _ _ _  ___  _ _  _  ___
| ' ' |/ . \| '_/| |/ . \
|_|_|_|\___/|_| |_|\___/


The Morio CLI configuration values are as follows:

- MORIO_ABOUT: Morio provides the plumbing for your observability needs
- MORIO_AWS_ACCOUNT_ID: 719603448334
- MORIO_GIT_ROOT: /home/luigi/git/morio
- MORIO_GITHUB_REPO: certeu/morio
- MORIO_GITHUB_REPO_URL: https://github.com/certeu/morio
- MORIO_VERSION: 0.3.0
- MORIO_WEBSITE: morio.it
- MORIO_WEBSITE_URL: https://morio.it

Under the hood, this will run:

Terminal
node ./scripts/print-cli-config.mjs

In other words, this runs NodeJS, unlike the print:cli.sh run script, which uses (Bash) shell.