ICliRunWithContextAndReturn Interface
An interface to add a command handler with int Run(CliContext) signature to a command class.
Normally you don't need an interface for a handler method as the source generator can detect it automatically,
but the interface can be used to prevent your IDE complain about unused method in class.
Namespace: DotMake.CommandLineAssembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.3.0
public interface ICliRunWithContextAndReturn
Run | The command handler that will be called when your command is invoked. Handler receives a CliContext instance. Handler can return an exit code. |