Skip to content

Conversation

lt-zeeshan
Copy link
Contributor

This pull request adds a new command to the CLI for checking the status of the SmartUI server using a direct HTTP request, and integrates it into the command registration. The main change is the introduction of the pingTest command, which provides a more robust way to verify server availability from the terminal.

New CLI command for server health check

  • Added a new file src/commander/pingTest.ts that defines the exec:pingTest command. This command sends a GET request to the /ping endpoint of the SmartUI server using Node's native HTTP/HTTPS modules, and provides colored output indicating the server status.
  • Imported the new pingTest command in src/commander/commander.ts and registered it with the CLI program, making it available to users. [1] [2]

@sushobhit-lt sushobhit-lt merged commit c7e74a2 into LambdaTest:stage Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants