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
Currently the commands return results in plain text.
Examples:
deploy prints Deployed to address: ...
proposeUpgrade prints Proposal ID: ... and Proposal URL: ...
getDeployApprovalProcess and getUpgradeApprovalProcess print Approval process ID: and Via: ... (if via it is not undefined)
Since this CLI is mainly consumed programmatically, for example from the Foundry Upgrades plugin, we should consider making these results more consumable by printing JSON strings instead.
Particularly, it would also allow for some returned fields to be undefined, for example the via field from the approval process.
This would be a breaking change and it is why the current version of this CLI is still tagged as alpha.
The text was updated successfully, but these errors were encountered:
Currently the commands return results in plain text.
Examples:
deploy
printsDeployed to address: ...
proposeUpgrade
printsProposal ID: ...
andProposal URL: ...
getDeployApprovalProcess
andgetUpgradeApprovalProcess
printApproval process ID:
andVia: ...
(ifvia
it is notundefined
)Since this CLI is mainly consumed programmatically, for example from the Foundry Upgrades plugin, we should consider making these results more consumable by printing JSON strings instead.
Particularly, it would also allow for some returned fields to be
undefined
, for example thevia
field from the approval process.This would be a breaking change and it is why the current version of this CLI is still tagged as
alpha
.The text was updated successfully, but these errors were encountered: