Running Wasm file with specialized Wasmtime command?

I’d like to run a wasm module with Wastime serve subcommand instead of the normal “Wasmtime run”. Is there a way to direct the shim to do that or should I create a new shim?

Here is an example I’d like to run:

wasmtime serve --addr=0.0.0.0:8081 foo.wasm