Skip to content

Commit

Permalink
Merge branch 'feature/multi-settings-path' of https://github.com/coen…
Browse files Browse the repository at this point in the history
…m/RepoM into feature/multi-settings-path
  • Loading branch information
coenm committed Sep 25, 2024
2 parents 9eff08d + b53b05f commit c4e84a7
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,20 @@ To change the app settings location, you can
<sup><a href='/src/RepoM.App/appsettings.Development.json#L1-L7' title='Snippet source file'>snippet source</a> | <a href='#snippet-src/RepoM.App/appsettings.Development.json' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

- start RepoM using the commandline argument `--App:AppSettingsPath <absolute or relative path here>`.
- use environment variable `REPOM__APP_APPSETTINGSPATH`.
<!-- snippet: appsettings_appsettings_path_relative -->
<a id='snippet-appsettings_appsettings_path_relative'></a>
```cs
{
"App": {
"AppSettingsPath": "MyConfigJson"
}
}
```
<sup><a href='/tests/RepoM.App.Tests/ConfigBasedAppDataPathProviderFactoryTest.cs#L27-L33' title='Snippet source file'>snippet source</a> | <a href='#snippet-appsettings_appsettings_path_relative' title='Start of snippet'>anchor</a></sup>
<!-- endSnippet -->

- start RepoM using the commandline argument `--App:AppSettingsPath '<absolute or relative path here>'`.
- use environment variable `REPOM_App__AppSettingsPath`.

If none is set, the default will be used.

Expand Down

0 comments on commit c4e84a7

Please sign in to comment.