| Crates.io | tilt-cli |
| lib.rs | tilt-cli |
| version | 0.1.0 |
| created_at | 2025-06-15 18:05:13.511554+00 |
| updated_at | 2025-06-15 18:05:13.511554+00 |
| description | CLI for interacting with the Tilt distributed processing platform |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1713503 |
| size | 77,032 |
Tilt CLI
A command-line tool for working with the Tilt network, enabling developers to create, build, test, and deploy WebAssembly programs to the Tilt platform.
cargo install tilt-cli
USAGE:
tilt [SUBCOMMAND]
SUBCOMMANDS:
new Creates a new Tilt project
build Build the Tilt project
test Test the Tilt project
clean Clean the Tilt project
list List Tilt programs
deploy Deploy the Tilt project
signin Sign in to Tilt
create-job Create a job for the current project
help Print this message or the help of the given subcommand(s)
tilt new my-tilt-program
This creates a new Rust project configured for WebAssembly compilation and the Tilt platform.
cd my-tilt-project
tilt build
This compiles your project to WebAssembly and prepares it for deployment.
tilt test
Runs unit tests for your project.
tilt signin --email your.email@example.com --password your-password
Authenticates with the Tilt platform and stores your credentials locally.
tilt deploy
tilt list
Shows a list of your programs deployed to the Tilt platform.
New projects use a simple template that handles requests and responses:
use serde::{Deserialize, Serialize};
use tilt_app as tilt;
#[derive(Deserialize)]
pub struct Request {
pub arg: String,
}
#[derive(Serialize)]
pub struct Response {
pub arg: String,
}
#[tilt::main]
fn main(req: Request) -> Response {
Response { arg: req.arg }
}
The Cargo.toml file includes Tilt-specific metadata:
[package.metadata.tilt]
program_id = "..." # Unique identifier for your program, do not change this value