use of org.jline.builtins.Nano in project felix by apache.
the class Posix method nano.
protected void nano(final CommandSession session, Process process, String[] argv) throws Exception {
final String[] usage = { "nano - edit files", "Usage: nano [FILES]", " -? --help Show help" };
Options opt = parseOptions(session, usage, argv);
Nano edit = new Nano(Shell.getTerminal(session), session.currentDir());
edit.open(opt.args());
edit.run();
}
Aggregations