stateroom-cli

Crates.iostateroom-cli
lib.rsstateroom-cli
version0.4.4
sourcesrc
created_at2022-01-20 12:25:36.702982
updated_at2024-08-04 17:05:47.727443
descriptionCommand-line tool for developing Stateroom applications
homepage
repositoryhttps://github.com/drifting-in-space/stateroom
max_upload_size
id517632
size91,731
Paul Butler (paulgb)

documentation

README

stateroom-cli

This module implements a command-line interface for building and serving Stateroom services.

Installation

cargo install stateroom-cli

Commands

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:

  • Build the current module as a wasm32-wasi target.
  • Locate the wasm output.
  • Run a local server that exposes it on port 8080.

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.

Commit count: 268

cargo fmt