Creates a template ReportMagic project for .NET 7.0.
To install (or update) the template, type:
dotnet new install ReportMagic.Cli
Once installed, go to an empty folder and type:
dotnet new reportmagic [--name Project.Namespace] [--apiTokenName=YourTokenName] [--apiTokenKey=YourTokenKey]
If you do not specify the namespace with --name, the folder name is used instead.
If you do not specify an API key, modify the appsettings.json file. After this, build
and run with:
dotnet run
This should attempt to run the Report Schedule specified in appsettings.json.
You should then inspect and modify the contents of Application.cs.
dotnet new --install "ReportMagic.Cli"
Templates: