Skip to content

herodevs/cli

Repository files navigation

HeroDevs CLI - @herodevs/cli

Node Setup & Installation

Node versions 14+

No installation:

npx @herodevs/cli ...

Global installation:

npm install -g @herodevs/cli
hd ...
# or
hdcli ...

Non-Node or Node < 14 Setup & Installation

Navigate here to download the version for your operating system from the most recent release.

Available Commands

# 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

Tutorials