LogicMonitor Cli Application (logicmonitor)
Creates a template LogicMonitor project for .NET 7.0.
To install (or update) the template, type:
dotnet new install LogicMonitor.Cli
If you do not specify the namespace with --name, the folder name is used instead
Once installed, go to an empty folder and type:
dotnet new logicmonitor [--name Project.Namespace]
Then modify the appsettings.json file to include your LogicMonitor account, Access Id and Access Key. After this, build and run with:
dotnet run
This should provide some basic information about your LogicMonitor account to demonstrate a working project.
dotnet new --install "LogicMonitor.Cli"
dotnet new logicmonitor