Materials-Data-Science-and-Informatics / somesy

A CLI tool for synchronizing software project metadata
https://materials-data-science-and-informatics.github.io/somesy/main/
MIT License
10 stars 1 forks source link

Setting values in somey.toml using CLI #88

Open GonozalIX opened 3 months ago

GonozalIX commented 3 months ago

Describe the solution you'd like A command where single and/or multiple keys in somesy.toml can be set, either directly and/or by a json string, e.g.

somesy set { version: "1.0.0" }

would set the version to "1.0.0".

Describe alternatives you've considered Right now the somesy.toml need to be altered and rewritten, for instance using sed.

Additional context Necessary for a deployment pipeline where the current tag is set by the pipeline and synced afterwards.