Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for createShellCommandRegistry (0.29 seconds)

  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
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (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 {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top