cobrix icon indicating copy to clipboard operation
cobrix copied to clipboard

Add support for `_` for key generation

Open yruslan opened this issue 1 year ago • 0 comments

Background

When data has multiple levels of hierarchy and Cobrix is used to generate corresponding keys, sometimes the list of segments can be long for the leaf level of the hierarchy:

.option("segment_id_level0", "SEG001")
.option("segment_id_level1", "SEG002,SEG003")
.option("segment_id_level2", "SEG004,SEG005,SEG006,SEG007,SEG008,SEG009")

Feature

Add support for * and _ for key generation.

Proposed Solution

It could be nice to add _ meaning "the rest of segments.

Example

.option("segment_id_level0", "SEG001")
.option("segment_id_level1", "SEG002,SEG003")
.option("segment_id_level2", "_")

yruslan avatar Jun 26 '24 07:06 yruslan