installInstruction method
One-line installation instruction for this shell: the installCommand, followed by the installLocation as a comment.
Implementation
String installInstruction(
final String executableName, {
final bool viaOption = false,
final String? commandName,
}) {
final command = installCommand(
executableName,
viaOption: viaOption,
commandName: commandName,
);
final location = installLocation;
return location == null ? command : '$command # in $location';
}