Package org.foo.shell.commands

Examples of org.foo.shell.commands.HistoryCommand


    HistoryDecorator command = new HistoryDecorator(exec, readHistory(context));
    context.addFrameworkListener(command);
    context.addBundleListener(command);
    m_history = command;

    commands.put("history", new HistoryCommand(command).setContext(context).setHelp(
      "history {<n>} - Show the last commands (up to <n> if present)."));

    return command;
  }
View Full Code Here

TOP

Related Classes of org.foo.shell.commands.HistoryCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.