Search in sources :

Example 16 with Process

use of org.apache.felix.service.command.Process in project felix by apache.

the class Builtin method history.

public void history(CommandSession session, String[] argv) throws IOException {
    Process process = Process.Utils.current();
    Commands.history(Shell.getReader(session), process.out(), process.err(), argv);
}
Also used : Process(org.apache.felix.service.command.Process)

Aggregations

Process (org.apache.felix.service.command.Process)16 Options (org.jline.builtins.Options)10 ArrayList (java.util.ArrayList)6 BufferedReader (java.io.BufferedReader)5 InputStreamReader (java.io.InputStreamReader)5 Path (java.nio.file.Path)5 HashSet (java.util.HashSet)5 TreeMap (java.util.TreeMap)5 ByteArrayInputStream (java.io.ByteArrayInputStream)4 ByteArrayOutputStream (java.io.ByteArrayOutputStream)4 IOException (java.io.IOException)4 PrintStream (java.io.PrintStream)4 Files (java.nio.file.Files)4 Arrays (java.util.Arrays)4 Collections (java.util.Collections)4 List (java.util.List)4 Map (java.util.Map)4 Set (java.util.Set)4 Job (org.apache.felix.service.command.Job)4 Closeable (java.io.Closeable)3