fetch_ml/cli/README.md
Jeremie Fraeys d225ea1f00 feat: implement Zig CLI with comprehensive ML experiment management
- Add modern CLI interface built with Zig for performance
- Include TUI (Terminal User Interface) with bubbletea-like features
- Implement ML experiment commands (run, status, manage)
- Add configuration management and validation
- Include shell completion scripts for bash and zsh
- Add comprehensive CLI testing framework
- Support for multiple ML frameworks and project types

CLI provides fast, efficient interface for ML experiment management
with modern terminal UI and comprehensive feature set.
2025-12-04 16:53:58 -05:00

54 lines
985 B
Markdown

# ML CLI
Fast CLI tool for managing ML experiments.
## Quick Start
```bash
# 1. Build
zig build
# 2. Setup configuration
./zig-out/bin/ml init
# 3. Run experiment
./zig-out/bin/ml sync ./my-experiment --queue
```
## Commands
- `ml init` - Setup configuration
- `ml sync <path>` - Sync project to server
- `ml queue <job>` - Queue job for execution
- `ml status` - Check system status
- `ml monitor` - Launch monitoring interface
- `ml cancel <job>` - Cancel running job
- `ml prune --keep N` - Keep N recent experiments
- `ml watch <path>` - Auto-sync directory
## Configuration
Create `~/.ml/config.toml`:
```toml
worker_host = "worker.local"
worker_user = "mluser"
worker_base = "/data/ml-experiments"
worker_port = 22
api_key = "your-api-key"
```
## Install
```bash
# Install to system
make install
# Or copy binary manually
cp zig-out/bin/ml /usr/local/bin/
```
## Need Help?
- `ml --help` - Show command help
- `ml <command> --help` - Show command-specific help