EventDriven.Sagas.SagaConfig.CLI
1.0.0-beta1
This is a prerelease version of EventDriven.Sagas.SagaConfig.CLI.
dotnet tool install --global EventDriven.Sagas.SagaConfig.CLI --version 1.0.0-beta1
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local EventDriven.Sagas.SagaConfig.CLI --version 1.0.0-beta1
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=EventDriven.Sagas.SagaConfig.CLI&version=1.0.0-beta1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package EventDriven.Sagas.SagaConfig.CLI --version 1.0.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Saga Configuration CLI
Command line interface for saga configuration.
Preparation
- Create a SagaConfigDefinitions class library containing a class that implements
ISagaConfigDefinition
. - Flesh out the
CreateSagaConfig
by returning a newSagaConfigurationDto
with steps that are aList<SagaStepDto>
. - Add a json folder in which to place the saga definition JSON file.
Installation
- Install the sagaconfig CLI tool globally.
dotnet tool install -g EventDriven.Sagas.SagaConfig.CLI --version 1.0.0-beta1
Usage
- Navigate to the root of the SagaConfigDefinitions project.
cd <path>/SagaConfigDefinitions
- Run the
sagaconfig
command, passing required parameters.- Specify a Guid as the
-id
parameter for the Saga Config Id. - Specify a relative path to the location of the SagaConfigDefinitions.dll file for the
-p
parameter. - Specify the name of the json folder for the
-j
parameter. - Omit the
-uri
parameter to save a config JSON file without posting to the SagaConfig Service.
sagaconfig -id d89ffb1e-7481-4111-a4dd-ac5123217293 -p bin/Debug/net6.0 -j json
- Include the
-uri
parameter to save a config JSON file and post to the SagaConfig Service.- First run the SagaConfigService project.
sagaconfig -id d89ffb1e-7481-4111-a4dd-ac5123217293 -p bin/Debug/net6.0 -j json -uri http://localhost:5256/api/sagaconfig/
- Specify a Guid as the
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.0.0-beta1 | 170 | 5/10/2022 |