cieslarmichal / faker-cxx

C++ Faker library for generating fake (but realistic) data.
https://cieslarmichal.github.io/faker-cxx/
MIT License
285 stars 112 forks source link

add a formatting script for sorting data alphabetically #650

Closed cieslarmichal closed 1 month ago

cieslarmichal commented 2 months ago

add a script for sorting and replacing array string definition in Data files

script should work in such way that:

const std::array<std::string_view, 5> trees = {"Oak",
                                                "Maple",
                                                "Pine",
                                                "Birch",
                                                "Tamarind"};

becomes (with coma in the end):

const std::array<std::string_view, 5> trees = {"Birch",
                                                "Maple",
                                                "Oak",
                                                "Pine",
                                                "Tamarind",};

It should take operate on all *Data.cpp files from the project.

Chinmayee-DS commented 1 month ago

Hi, I would like to work on this!

cieslarmichal commented 1 month ago

ok nice, assigned

jackhwalters commented 1 month ago

Hi I can take this on if it's available?

cieslarmichal commented 1 month ago

Yes its open, feel free to grab it