easelabs-cli
v1.0.28
Published
EaseLabs CLI for Java and C code execution and testing
Maintainers
Readme
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.
Installation
npm install -g easelabs-cliUsage
Interactive Mode
easelabs start
easelabs --help
easelabs --versionDaemon Mode (Background Service)
# Start the daemon in background
easelabsd start
# Check daemon status
easelabsd status
# Stop the daemon
easelabsd stop
# Restart the daemon
easelabsd restart
# View daemon logs
easelabsd logs
easelabsd logs -f # Follow logs in real-time
easelabsd logs -n 100 # Show last 100 lines
# Get help
easelabsd --helpThe 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
Windows-Specific Notes
- The daemon uses
tasklistandtaskkillcommands for process management on Windows - Signal handling is adapted for Windows compatibility
- Log following uses a custom implementation instead of
tailcommand - All features work the same way across platforms
