snet-cli
snet-cli copied to clipboard
"snet organization print-metadata" requires organization name despite there is no such entity in Registry contract anymore
# snet organization print-metadata snet
error: the following arguments are required: org_id
usage: snet organization print-metadata [-h] org_name org_id
positional arguments:
org_name Organization name
org_id Organization Id
optional arguments:
-h, --help show this help message and exit
The org_name
is a field of the organization_metadata.json
but it's really not necessary to get the metadata.
Users can get the organization's metadata using anything on org_name
argument:
$ snet organization print-metadata not-a-name snet
So we just need to remove this argument.
Looks like orgName
in contract was replaced by metadataURI
and since that some snet-cli
functionality requires modification. See https://github.com/singnet/snet-cli/issues/348 as well.