Exploring ways of using Spectre.Console to build CLI tools
In this repo, i m exploring various ways in order to build a simple cli tool based on Spectre.Console.
1️⃣ basic way : commands metadata (name, description, etc.) are defined outside commands folder.
2️⃣ custom way : commands metadata (name, description, etc.) are defined inside commands folder.
To run code in debug or release mode, type the following commands in your favorite terminal :
.\BasicWay.exe math add [number1] [number2]
.\CustomWay.exe math add [number1] [number2]
.\BasicWay.exe path list [path] -e [extension]
.\CustomWay.exe path list [path] -e [extension]
Tools
: vs22, net 6.0, spectre.console.cli