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                
nuke :add-package EventDriven.Sagas.SagaConfig.CLI --version 1.0.0-beta1                

Saga Configuration CLI

Command line interface for saga configuration.

Preparation

  1. Create a SagaConfigDefinitions class library containing a class that implements ISagaConfigDefinition.
  2. Flesh out the CreateSagaConfig by returning a new SagaConfigurationDto with steps that are a List<SagaStepDto>.
  3. Add a json folder in which to place the saga definition JSON file.

Installation

  1. Install the sagaconfig CLI tool globally.
    dotnet tool install -g EventDriven.Sagas.SagaConfig.CLI --version 1.0.0-beta1
    

Usage

  1. Navigate to the root of the SagaConfigDefinitions project.
    cd <path>/SagaConfigDefinitions
    
  2. 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/
    
Product 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