You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When multiple commands are found, we should show the commands available. Right now we just directly try to run one of the commands without it being the entrypoint:
➜ ~ wasmer wasmer/wabt
wat2wasm: expected filename argument.
Try '--help' for more information.
The text was updated successfully, but these errors were encountered:
No, the issue is that when multiple commands are given (unless there's an entrypoint), it should do something like:
$ wasmer run wasmer/wabt
The `wabt` package doesn't have a default entrypoint, but has multiple available commands: `wasm2wat`, `wat2wasm`, ...
You can run any of those by using the --command=COMMAND flag.
-> wasmer run wasmer/wabt --command=wasm2wat ...
Also, we need to make sure that wapm2pirita only puts an entrypoint if there's only one command. If multiple commands are present, no default entrypoint should be set.
3402: Do not run first command of wapm file and print all commands instead r=fschutt a=fschutt
Fixes#3345.
Co-authored-by: Felix Schütt <felix@wasmer.io>
When multiple commands are found, we should show the commands available. Right now we just directly try to run one of the commands without it being the entrypoint:
The text was updated successfully, but these errors were encountered: