The contract needs functions for publish_hash (separate from publish) and register_contract (separate from deploy), but the CLI can be smarter. It can offer only publish and deploy, and Do The Right Thing based on the arguments passed to it. We can also alias deploy as register.
The contract needs functions for
publish_hash(separate frompublish) andregister_contract(separate fromdeploy), but the CLI can be smarter. It can offer onlypublishanddeploy, and Do The Right Thing based on the arguments passed to it. We can also aliasdeployasregister.