Class ShellCommand

java.lang.Object
google.registry.tools.ShellCommand
All Implemented Interfaces:
Command

public class ShellCommand extends Object implements Command
Implements a tiny shell interpreter for the nomulus tool.

Parses a very simple command grammar. Tokens are either whitespace delimited words or double-quoted strings.

  • Method Details

    • buildCompletions

      public ShellCommand buildCompletions(com.beust.jcommander.JCommander jcommander)
    • run

      public void run()
      Run the shell until the user presses "Ctrl-D".
      Specified by:
      run in interface Command