tutti-cli-0.1.5 is not a library.
tutti
A lightweight CLI tool for orchestrating local processes. Start multiple services with one command, handle dependencies automatically, and see all logs in one place.
Quick Start
Install:
Create a tutti.toml config:
= 1
[]
= ["python", "app.py"]
= { = "3000" }
[]
= ["npm", "start"]
= ["api"]
= "./frontend"
Run:
What is Tutti
Tutti solves the common developer problem of managing multiple local services. Instead of opening several terminals and remembering which services to start in what order, you define everything in a simple config file.
Installation
From crates.io
From source
# Binary will be at target/release/tutti-cli
Basic Usage
Start all services:
Start specific services (and their dependencies):
Example output:
[database] Starting PostgreSQL on port 5432
[api] Server listening on http://localhost:3000
[frontend] Development server started on port 8080
Configuration Format
Services are defined in TOML format:
= 1
[]
= ["postgres", "-D", "./data"]
[]
= ["python", "server.py"]
= ["database"]
= { = "postgresql://localhost/mydb" }
= "./backend"
= "always"
[]
= ["npm", "run", "dev"]
= ["api"]
= "./frontend"
Configuration options:
cmd(required) - Command and arguments to rundeps(optional) - List of service dependenciesenv(optional) - Environment variablescwd(optional) - Working directoryrestart(optional) - Restart policy (default: "never")
Documentation
Full documentation with examples and advanced configuration options:
License
Licensed under MIT License