If more flags are introduced to cargo swift init in the future, the current approach (separate template files for flags such as plain) would not allow to combine multiple unrelated flags, e.g. --plain --macro to init a project without boilerplate that only uses UniFFI proc-macros.
To make this feasible, a templating library such as askama should be used that allows including blocks conditionally.
If more flags are introduced to cargo swift init in the future, the current approach (separate template files for flags such as plain) would not allow to combine multiple unrelated flags, e.g. --plain --macro to init a project without boilerplate that only uses UniFFI proc-macros.
To make this feasible, a templating library such as askama should be used that allows including blocks conditionally.