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