Meraki.Cli

Nuget package for dotnet new Meraki

Build

To build, from the root directory (and already having installed the latest version of nuget), type:

nuget pack .\Meraki.Cli.nuspec -NoDefaultExcludes -Exclude .vs -Exclude .suo

Upload

You can then upload it to https://www.nuget.org/packages/manage/upload

Installation

To install the template, use:

dotnet new install Meraki.Cli

Project creation

To create a new project using the template, use:

dotnet new meraki --name MyProject.MyNameSpace --apiKey YourApiKey

or

dotnet new meraki --name MyProject.MyNameSpace

or

dotnet new meraki

Testing

You can test this using a Meraki Sandbox here:

After signing in, look in the lower left hand side of the page for your API key.

View code on GitHub

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.