CliInvoke v2 removes a number of interfaces and classes from v1. Below is a non-exhaustive list of the main removed interfaces and classes.
Rationale:
Process class, and were neither helpful to CliInvoke's design nor were they helpful to users.Replacement:
IProcessInvoker and ProcessInvoker instead.Rationale:
Replacement:
IProcessInvoker and ProcessInvoker for running ProcessConfiguration objects.Rationale: Removed due to exposing behaviour and functionality that is antithetical to the goals of CliInvoke. Safe process running and avoiding the pitfalls of the Process class are easily done with other invokers and IProcessFactory's interface methods made it easier to run into some of these pitfalls.
Replacement:
IProcessConfigurationFactory and ProcessConfigurationFactory for simple ProcessConfiguration creation.IProcessInvoker and ProcessInvoker for running ProcessConfiguration objects.Rationale:
IProcessInvoker and ProcessInvoker were introduced as the successor to ICliCommandInvoker`` and CliCommandInvoker`` respectively.Replacement:
IProcessInvoker and ProcessInvoker respectivelyRationale:
ProcessConfiguration was introduced as the successor to CliCommandConfiguration.Replacement:
ProcessConfiguration