WASM-TOOLS(1)
π WASM-TOOLS(1) β bestie edition π
okay so this is the manual for wasm-tools compose, living in the User Commands section of your local wasm-tools docs, and it's literally about smushing WebAssembly components together. no cap. let's get into it π«Ά
β¨ NAME β¨
wasm-tools compose β the WebAssembly component composer. that's it, that's the name, iconic behavior πΈ
π SYNOPSIS π
wasm-tools compose [OPTIONS] <COMPONENT>
π¦ DESCRIPTION π¦
WebAssembly component composer. π
so basically: a tool for composing WebAssembly components together. it's giving matchmaker energy for your .wasm files β you bring the parts, it makes them one. lowkey the whole point of the command β¨
π Arguments:
<COMPONENT>β the path to the root component you wanna compose. that's your main character component, the one everything else gets built around π
π₯ OPTIONS π₯
-v,--verbose...β use verbose output. yes bestie, you can stack it:-v= info,-vv= debug,-vvv= trace. go off, add as many as you want π’--color <COLOR>β controls whether terminal colors show up in the output.
it takes one of exactly these: auto|never|always|always-ansi. the default is auto, which means it peeks at your terminal environment to figure out what to do β for example, by using isatty. so it checks the vibe before committing π
[default: auto]
-o,--output <OUTPUT>β where to place the output. if you don't give it one,stdoutis used. no file, no problem, straight to the screen π-c,--config <CONFIG>β the path to the configuration file to use.-d,--definitions <DEFS>β definition components whose exports define import dependencies to fulfill from. (yes, that's the whole sentence. it's a mouthful but it's important, fr fr.)-p,--search-path <PATH>β a path to search for imports. hunting szn π--skip-validationβ skip validation of the composed output component.
bestie, heads up: this one turns OFF the safety check on what you just built. skipping validation means nobody's verifying your output component is chill. use with care π¨
--no-importsβ do not allow instance imports in the composed output component. strict queen energy π-t,--watβ output the text format of WebAssembly instead of the binary format. same component, but readable by humans π§-h,--helpβ print help. (and pssst β it'll show you a summary with-h, so there's a shorter and a longer version depending on what you ask for.)-V,--versionβ print version. β
that's the whole thing bestie, every flag accounted for, nothing skipped, we ate and left no crumbs π
and for the cute sign-off: this page is for wasm-tools compose version 1.239.0+ds, dated August 2026, and it's filed under WASM-TOOLS(1). periodt β¨π
π¦ where this page comes from
- ubuntu stonking: wasm-tools 1.239.0+ds-10 Β· Apache-2.0 OR Apache-2.0 WITH LLVM exception OR MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms