bnb-chain / greenfield-cmd

support cmd tool for Greenfield
GNU Lesser General Public License v3.0
27 stars 12 forks source link

feat: add tags for bucket/object/group and support SetTags tx #105

Closed ruojunm closed 10 months ago

ruojunm commented 10 months ago

Description

feat: add tags for bucket/object/group and support SetTags tx

Rationale

Greenfield v1.2.0 will introduce tags fields for bucket/object/group entities and also has a SetTags API to set tags for existing bucket/object/group

Example

Changes

Notable changes:

keefel commented 10 months ago

The set-tag subcommand should be for gnfd-cmd bucket/object/group, not for gnfd-cmd. The correct format is 'gnfd-cmd bucket set-tags --tags='[{"Key":"0","value":"value1"},{"key":"key2","value":"0"}]' gnfd://clyde-test-3'.