Crates.io | stateroom-cli |
lib.rs | stateroom-cli |
version | 0.4.4 |
source | src |
created_at | 2022-01-20 12:25:36.702982 |
updated_at | 2024-08-04 17:05:47.727443 |
description | Command-line tool for developing Stateroom applications |
homepage | |
repository | https://github.com/drifting-in-space/stateroom |
max_upload_size | |
id | 517632 |
size | 91,731 |
This module implements a command-line interface for building and serving Stateroom services.
cargo install stateroom-cli
The stateroom
command is new even relative to the other parts of Stateroom, so
expect this list to grow over time and commands may be renamed or combined over time.
stateroom dev
By default, the command dev
will:
wasm32-wasi
target.It can also be configured using a stateroom.toml
file to serve static files
and build a client-side WebAssembly module. See cli_opts.rs
for
stateroom serve
The command serve [path/to/service.wasm]
will set up a server for an existing
WebAssembly file.