code: public static CliDirectory from(Identifier identifier, CliCommand... commands) {
          final Trie<CliCommand> childCommands = createChildCommands(commands);
          return new CliDirectory(identifier, Tries.<CliDirectory>emptyTrie(), childCommands);
      }
docs: Construct a CLI directory from the given parameters.
  
  @param identifier Directory identifier.
  @param commands Child CLI commands.
  @return A CLI directory constructed from the given parameters.