Interface ITerminalCommandSource<TContext>
An abstraction of a terminal command source.
public interface ITerminalCommandSource<TContext> where TContext : classType Parameters
- TContext
Remarks
A command source is a provider of terminal commands. It can be a local or remote source.
Methods
LoadCommandSourceAsync(TContext)
Loads the terminal command source asynchronously.
Task LoadCommandSourceAsync(TContext context)Parameters
- contextTContext
- The terminal source context. 
Returns
- Task
- This interface allows for different sources of terminal commands, either from local or remote origins. It supports customization via the - TContextparameter, which can be tailored to specific loading contexts (e.g., configurations, authentication). Implementers can define how commands are loaded, catering to various application needs.