Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createShellCommandRegistry (0.08 sec)

  1. 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)
  2. 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