Mama
Publish a package to a registry [alias: package publish]
Usage: wasmer publish [OPTIONS] [path]
Arguments:
[path]
Directory containing the `wasmer.toml`, or a custom *.toml manifest file.
Defaults to current working directory.
[default: .]
Options:
–wasmer-dir
Set Wasmer’s home directory
[env: WASMER_DIR=/home/imago/.local/share/wasmenv/current]
[default: /home/imago/.local/share/wasmenv/current]
–cache-dir
The directory cached artefacts are saved to
[env: WASMER_CACHE_DIR=/home/imago/.wasmer/cache]
[default: /home/imago/.local/share/wasmenv/current/cache]
-v, –verbose…
Generate verbose output (repeat for more verbosity)
–registry
The registry to fetch packages from (inferred from the environment by default)
[env: WASMER_REGISTRY=]
–log-format
The format to use when generating logs
[env: LOG_FORMAT=]
[default: text]
Possible values:
– text: Human-readable logs
– json: Machine-readable logs
–token
The API token to use when communicating with the registry (inferred from the environment by default)
[env: WASMER_TOKEN=wap_1f8cd65ed491ab8087f54f8078f389a7bb6e7236c808aac61a487b4236f90d2f]
–color
When to display colored output
[default: auto]
[possible values: auto, always, never]
–dry-run
Run the publish logic without sending anything to the registry server
–quiet
Run the publish command without any output
–namespace
Override the namespace of the package to upload
–name
Override the name of the package to upload
–version
Override the package version of the uploaded package in the wasmer.toml
–no-validate
Skip validation of the uploaded package
–wait[=]
Wait for package to be available on the registry before exiting
[default: none]
[possible values: none, container, native-executables, bindings, all]
–timeout
Timeout (in seconds) for the publish query to the registry.
Note that this is not the timeout for the entire publish process, but for each individual query to the registry during the publish flow.
[default: 5m]
–bump
Whether or not the patch field of the version of the package – if any – should be bumped
–non-interactive
Do not prompt for user input
-h, –help
Print help (see a summary with ‘-h’)
