Sure. static or smart ?
can you write for both??
Have you looked in the blcli help?
Try using this : DepotGroup : createDepotGroup
This command creates a depot group as a child of a parent depot group. You must provide the ID of the parent group and the name of the group to be created.
This command returns the ID of the newly created group.
You can set descripton, permissions etc to this group. Check the DepotGroup namespace. It should give you more pointers.
My bad, I saw this in email and replied. Did not know it was already answered