diff --git a/owilix/cmd/config.py b/owilix/cmd/config.py index 3127315..23c85a6 100644 --- a/owilix/cmd/config.py +++ b/owilix/cmd/config.py @@ -42,3 +42,14 @@ def get(self, *args, **kwargs): self.show_table(_r, order=["key", "value"]) +@ConfigCommands.register +def metadata_profile(self, collectionName="userslice", *args, **kwargs): + """ + creates or updates a metadata profile for the provided collectionName. + + Args: + collectionName (str): the name of the collection to create or update + kwargs (dict): the metadata profile to create/update, i.e. key value pairs describing the metadata profile. keys support a multi dict profile (i.e. x.y#1.z#2.b) + """ + pass +