ShellCommandsMapExtension extension
Provides convinience methods for ShellCommandsMap.
Methods
-
contains(
{required String command, required SystemShell systemShell}) → bool -
Available on ShellCommandsMap, provided by the ShellCommandsMapExtension extension
Whether thecommand
is contained insystemShell
. -
exclude(
{required String command, required SystemShell systemShell}) → ShellCommandsMap -
Available on ShellCommandsMap, provided by the ShellCommandsMapExtension extension
Returns a new ShellCommandsMap with the givencommand
removed fromsystemShell
. -
include(
{required String command, required SystemShell systemShell}) → ShellCommandsMap -
Available on ShellCommandsMap, provided by the ShellCommandsMapExtension extension
Returns a new ShellCommandsMap with the givencommand
added tosystemShell
.