NFACU
.NET Framework App Config Updater
Example Configuration file
[
{
"path": "C:\\repos\\gato\\src\\GATO.Listener\\App.config",
"settings": {
"DialerEventTopic.Name": "dialer-events-topic-elias",
"Dialers": "Noble-1, Genesys-1",
"Dialers:Genesys-1:Campaigns": "TC1, AMA, HMA",
"Groups:Extensionless": "1, 16, 40"
}
},
{
"path": "C:\\repos\\gato\\src\\GATO.Noble.Worker\\App.config",
"settings": {
"DialerEventTopic.Name": "dialer-events-topic-elias"
}
},
{
"path": "C:\\repos\\gato\\src\\GATO.Genesys.Worker\\App.config",
"settings": {
"DialerEventTopic.Name": "dialer-events-topic-elias"
}
}
]
Then run
nfacu
That will modify the properties of the App.config
files in the array with the specified settings.
By default nfacu search for a nfacu.json
file, but it can also receive another file as parameter
Example
nfacu hulk.json
Check DotnetSample/
for a better understanding of this tool.
Made at request of @eliasbobadilla.
Install
Using
go install github.com/UltiRequiem/nfacu@latest
Or use a binary from releases.
License
MIT