examples/console-app/README.md

console-app

Console app example

This sample demonstrates how to build a console application with ForgeTrust.Runnable.

It defines a module and a greet command. The command uses attributes from the CliFx library—see the CliFx documentation on attributes for more details. Run the sample with:

dotnet run --project examples/console-app/ConsoleAppExample.csproj -- greet World

This will output:

Hello, World!