Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createShellCommandRegistry (0.55 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellCommandRegistryFactory.java

    package org.apache.maven.cling.invoker.mvnsh;
    
    import org.apache.maven.cling.invoker.LookupContext;
    import org.jline.console.CommandRegistry;
    
    public interface ShellCommandRegistryFactory {
        CommandRegistry createShellCommandRegistry(LookupContext context);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                    context.lookup.lookupMap(ShellCommandRegistryFactory.class);
            for (Map.Entry<String, ShellCommandRegistryFactory> entry : factories.entrySet()) {
                holder.addCommandRegistry(entry.getValue().createShellCommandRegistry(context));
            }
    
            DefaultParser parser = new DefaultParser();
            parser.setRegexCommand("[:]{0,1}[a-zA-Z!]{1,}\\S*"); // change default regex to support shell commands
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

    import static java.util.Objects.requireNonNull;
    
    @Named("builtin")
    @Singleton
    public class BuiltinShellCommandRegistryFactory implements ShellCommandRegistryFactory {
        @Override
        public CommandRegistry createShellCommandRegistry(LookupContext context) {
            return new BuiltinShellCommandRegistry(context);
        }
    
        private static class BuiltinShellCommandRegistry extends JlineCommandRegistry implements AutoCloseable {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top