Node versions 14+
No installation:
npx @herodevs/cli ...
Global installation:
npm install -g @herodevs/cli
hd ...
# or
hdcli ...
Navigate here to download the version for your operating system from the most recent release.
# Initializes your project to use NES libraries
hdcli nes init
# Shows a list of committers in git repository
hdcli report committers
# Shows diagnostic information about your project
hdcli report diagnostics
# Initializes the project for the lines-of-code tracker
hdcli tracker init
# Runs a lines-of-code tracker to gather project
hdcli tracker run
# Send information about your project manifest files
hdcli report generate
For local debugging and development, it is possible configure the server to which reports are sent by setting the NES_REPORT_URL
environment variable:
# Send information about your project manifest files to a custom graphql endpoint
NES_REPORT_URL="https://example.com/graphql" hdcli report generate