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
{{ message }}
This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
There is currently some strange argument parsing with = delimiters and a magic $npm_package_name variable. Instead we should parse as follows:
# All flags can be declared many times
# Default. Always exactly 3 arguments following `--artifact`
--artifact crate-type crate-name output-file
# Shorthand
-a crate-type crate-name output-file
# NPM special version that uses the `$npm_package_name` environment variable for crate-name
# Always exactly 2 arguments
--npm crate-type output-file
# Shorthand
-n crate-type output-file
# Lastly, modifiers can be added to the shorthand versions to apply the crate type
# b = bin
# c = cdylib
# d = dylib
# Modifiers take the place of crate-type and reduce the arguments followed by 1
# Neon would default to using
-nc output-file
There is currently some strange argument parsing with
=
delimiters and a magic$npm_package_name
variable. Instead we should parse as follows:We will keep the
--
separator for clarity.The text was updated successfully, but these errors were encountered: