EaseLabs CLI for Java and C code execution and testing
npm install easelabs-cli> A simple CLI tool to run and test Java code via a local HTTP server, with Java and C installation checks and optional HTTPS tunneling.
---
``bash`
npm install -g easelabs-cli
---
bash
easelabs start
easelabs --help
easelabs --version
`$3
`bash
Start the daemon in background
easelabsd startCheck daemon status
easelabsd statusStop the daemon
easelabsd stopRestart the daemon
easelabsd restartView daemon logs
easelabsd logs
easelabsd logs -f # Follow logs in real-time
easelabsd logs -n 100 # Show last 100 linesGet help
easelabsd --help
`The daemon mode (
easelabsd) runs the EaseLabs server in the background, so you don't need to keep a terminal window open. It's perfect for development environments where you want the server to always be available.---
Cross-Platform Compatibility
This CLI tool works on:
- Linux
- macOS
- Windows
$3
- The daemon uses tasklist and taskkill commands for process management on Windows
- Signal handling is adapted for Windows compatibility
- Log following uses a custom implementation instead of tail` command