Closed timrogers closed 1 month ago
Unlike many CLIs, the plasmo CLI requires argument values to be provided with = notation (e.g. --target=chrome-mv3).
plasmo
=
--target=chrome-mv3
This requirement comes from the getFlag method in the @plasmo/utils package.
getFlag
@plasmo/utils
https://github.com/PlasmoHQ/plasmo-utils/blob/2838ca6214117bfd93b566b4b75586f6a9bd89f7/flags.ts#L8-L16
This expectation isn't clear in the documentation in the CLI, which is quite misleading. This fixes that, updating all of the examples to clearly show setting a value with =.
If your PR is accepted, we will award you with the Contributor role on Discord server.
Contributor
To join the server, visit: https://www.plasmo.com/s/d
Details
Unlike many CLIs, the
plasmo
CLI requires argument values to be provided with=
notation (e.g.--target=chrome-mv3
).This requirement comes from the
getFlag
method in the@plasmo/utils
package.https://github.com/PlasmoHQ/plasmo-utils/blob/2838ca6214117bfd93b566b4b75586f6a9bd89f7/flags.ts#L8-L16
This expectation isn't clear in the documentation in the CLI, which is quite misleading. This fixes that, updating all of the examples to clearly show setting a value with
=
.Code of Conduct
Contacts
If your PR is accepted, we will award you with the
Contributor
role on Discord server.To join the server, visit: https://www.plasmo.com/s/d