Logo

dev-resources.site

for different kinds of informations.

Developing and installing your own CLI with dotnet tool and CliFx NuGet package

Published at
5/30/2022
Categories
csharp
dotnet
cli
clifx
Author
Dev Power
Categories
4 categories in total
csharp
open
dotnet
open
cli
open
clifx
open
Developing and installing your own CLI with dotnet tool and CliFx NuGet package

I wrote a blog post on developing and installing your own CLI with dotnet tool and CliFx NuGet package. You can find it here:

https://devpower.co.uk/dotnet/csharp/develop-a-cli-with-csharp/

If you're not interested in the whole thing, here is the TL;DR version:

  • dotnet tool is a mechanism to install/update/distribute console applications via NuGet packages
  • CliFx is an awesome NuGet package that allows you to convert a console application into a full-blown CLI with commands, subcommands, arguments and auto-generated usage message.

You can check out the references to find more about these:

Featured ones: