What's not yet supported is passing trait references, like:
clarinet requirements add SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.nft-trait.nft-trait
Furthermore, as a bonus: It would be great to clarity or correct this hint/help text returned clarinet requirements add --help
Currently, passing clarinet requirements add "SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.nft-trait" (note the double quotes, like as indicated in the help dialog) does not yield a correctly imported requirement. I had to pass the principal contract reference with no double quotes (or even the single quote prefix which is the Clarity type convention). The request to this issue would be to have a better help dialog without the quotes, or have an input formatter that can take a principal contract reference (or trait reference) with any style or quantity of quotes and find the correct contract on the Stacks chain to place inside the requirements-publish contract for the deployment plan.
Currently, Clarinet can add a project contract requirement by passing a principal contract in the cli like so:
clarinet requirements add SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.nft-trait
What's not yet supported is passing trait references, like:
clarinet requirements add SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.nft-trait.nft-trait
Furthermore, as a bonus: It would be great to clarity or correct this hint/help text returned
clarinet requirements add --help
Currently, passing
clarinet requirements add "SP2PABAF9FTAJYNFZH93XENAJ8FVY99RRM50D2JG9.nft-trait"
(note the double quotes, like as indicated in the help dialog) does not yield a correctly imported requirement. I had to pass the principal contract reference with no double quotes (or even the single quote prefix which is the Clarity type convention). The request to this issue would be to have a better help dialog without the quotes, or have an input formatter that can take a principal contract reference (or trait reference) with any style or quantity of quotes and find the correct contract on the Stacks chain to place inside therequirements-publish
contract for the deployment plan.