This repository provides a list of command line utilities for accelerating app development using standard Olive components and services.
dotnet tool install -g generate-data-endpoint-proxy
Command | Description |
---|---|
C:\MyProject\Website\bin\debug\netcoreapp3.1> generate-data-endpoint-proxy /assembly:"website.dll" /dataEndpoint:MyNamespace.OrdersEndpoint /out:"C:\...\PrivatePackages" |
Generate the nuget packages locally learn more |
C:\MyProject\Website\bin\debug\netcoreapp3.1> generate-data-endpoint-proxy /assembly:"website.dll" /dataEndpoint:MyNamespace.OrdersEndpoint /push:http://my-nuget-server.com/nuget /apiKey:12345 |
Generate and publish learn more |
dotnet tool install -g generate-eventbus-command-proxy
Command | Description |
---|---|
C:\MyProject\Website\bin\debug\netcoreapp3.1> generate-eventbus-command-proxy /assembly:"website.dll" /command:MyNamespace.FooCommand /out:"c:\temp\generated-packages" |
Generate the nuget packages locally learn more |
C:\MyProject\Website\bin\debug\netcoreapp3.1> generate-eventbus-command-proxy /assembly:"website.dll" /command:MyNamespace.FooCommand /push:http://my-nuget-server.com/nuget /apiKey:12345 |
Generate the nuget packages locally learn more |
TODO: ...
TODO: msharp-build /update-nuget...
TODO: Move all microservice ops here.
If you are experiencing a problem using the generators, try the following:
- Pull the source code of this repository on your local machine
- Open the solution in Visual Studio
- Set the generator you're trying to use as the StartUp project (e.g. DataEndPointGenerator)
- Right click no the project and select Properties
- Go under the
Debug
tab. - Set the Working Directory to the folder of your test project for which you want to generate (e.g.
C:\MyProject\Website\bin\debug\netcoreapp3.1
) - Set the other command line parameters
- In Visual Studio, press F5 to run the generator on your target test project. Now you can see what is hapenning.