getCommonCommandsHelp function

String getCommonCommandsHelp()

Returns the common commands section shown at startup and in --help.

Implementation

String getCommonCommandsHelp() {
  return '''
<cyan>**Commands**</cyan>
  <yellow>**help**</yellow>           Show detailed help
  <yellow>**info**</yellow> [query]   Show details and suggestions for symbols
  <yellow>**classes**</yellow> [q]    List classes in current environment
  <yellow>**enums**</yellow> [q]      List enums in current environment
  <yellow>**methods**</yellow> [q]    List methods in current environment
  <yellow>**variables**</yellow> [q]  List variables in current environment
  <yellow>**defines**</yellow> [q]    List defined command aliases
  <yellow>**imports**</yellow>        Show imports in current environment
  <yellow>**registered-***</yellow>   Show registered bridges (classes/enums/methods/variables/imports)
  <yellow>**show-init**</yellow>      Show initialization source
  <yellow>**clear**</yellow>          Clear the screen
  <yellow>**exit**</yellow>/<yellow>**quit**</yellow>  Exit the REPL

<cyan>**Inline Execution**</cyan>
  <yellow>**exec**</yellow> <code>     Execute code in a fresh D4rt instance *(isolated)*
  <yellow>**exp**</yellow> <expr>      Evaluate expression in current REPL environment

  *Search syntax:* <yellow>[q]</yellow> = filter, <yellow>"q"</yellow> = case-sensitive, <yellow>q*</yellow> = startsWith, <yellow>*q*</yellow> = contains''';
}