Tool to replace or edit parameters values in config json deployment files
To use:
-
Create sections.txt file in the same folder as the project
-
Fill sections.txt with this - { "value": [ ] }
-
Add all required updated params in "value" array
-
Launch an app
-
Enter folder path to search for json files
-
Enter pattern to search for in "name" values of appsettings. Matching values will be deleted and the last one will be replaced with the first new value from sections.txt file. All remaining new sections will be placed after it. If no matching values are found new values will be added at the end
Note: Tool also formatts all of the files that it edits. Formatting is done using spaces or tabs, based on the initial file formatting