getDirectoryCommandsHelp function
Returns the directory commands section.
Implementation
String getDirectoryCommandsHelp(
String dataPath, {
String replayPatterns = '*.replay.txt, *.dcli',
}) {
return '''
<cyan>**Directory**</cyan>
<yellow>**sessions**</yellow> List session IDs *(from $dataPath)*
<yellow>**scripts**</yellow> List script files *(*.script.txt)*
<yellow>**plays**</yellow> List replay files *($replayPatterns)*
<yellow>**executes**</yellow> List executable files *(*.exec.dart)*
<yellow>**ls**</yellow> List all files in current directory
<yellow>**cd**</yellow> <path> Change current directory
<yellow>**cwd**</yellow> Show current working directory
<yellow>**home**</yellow> Return to *$dataPath*''';
}