Features
Ping Command
Checking whether the NetShift CLI is available.
Ping Command
The ping command is the simplest feature in the NetShift CLI. It acts as a basic health check to verify that the CLI binary is successfully installed, executable, and ready to receive commands.
Usage
You can invoke the ping command by running:
ns pingExpected Output
If the CLI is working properly, you will see the following output in your terminal:
NetShift is alive and ready to serve! 🚀Why use it?
This is useful when:
- Setting up the project for the first time.
- Verifying the binary is in your system's
PATH. - Ensuring that there are no immediate initialization errors before moving on to more complex HTTP requests.