Skip to content

Add configuration support for cli hosting#79

Merged
darthsharp merged 3 commits intomainfrom
feature/clihostingconfiguration
Mar 2, 2026
Merged

Add configuration support for cli hosting#79
darthsharp merged 3 commits intomainfrom
feature/clihostingconfiguration

Conversation

@darthsharp
Copy link
Copy Markdown
Contributor

No description provided.

- Introduced `TryAddJsonFile` method in `ConfigurationBuilderExtensions` to conditionally add JSON configuration files.
- Added new `CreativeCoders.Configuration` project to the solution with necessary dependencies.
- Enhanced `ICliHostBuilder` with `UseConfiguration` method for customizable configuration setups.
- Updated `Core.sln` and `CreativeCoders.Cli.Hosting` to incorporate new configuration capabilities.
- Upgraded multiple NuGet package references across source, sample, and test projects for consistency and security improvements.
- Updated dependencies include `Microsoft.Extensions.*`, `FakeItEasy`, `AwesomeAssertions`, `coverlet.collector`, `xunit.runner.visualstudio`, and others.
…ation tests

- Introduced tests for `UseConfiguration` extension in `DefaultCliHostBuilder` to validate service registration.
- Added integration test to ensure commands can access configuration settings at runtime.
- Enhanced CLI framework with configuration sample commands for testing.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 2, 2026

@darthsharp darthsharp merged commit 1f41662 into main Mar 2, 2026
8 checks passed
@darthsharp darthsharp deleted the feature/clihostingconfiguration branch March 2, 2026 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant