Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCommandRegistries (0.14 sec)

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

        public void addCommandRegistry(CommandRegistry commandRegistry) {
            requireNonNull(commandRegistry, "commandRegistry");
            this.commandRegistries.add(commandRegistry);
        }
    
        public CommandRegistry[] getCommandRegistries() {
            return commandRegistries.toArray(new CommandRegistry[0]);
        }
    
        @Override
        public void close() throws Exception {
            ArrayList<Exception> exceptions = new ArrayList<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 17 09:50:45 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

                                return command.startsWith("!") || super.isCommandOrScript(command);
                            }
                        };
                systemRegistry.setCommandRegistries(holder.getCommandRegistries());
    
                Path history = context.userDirectory.resolve(".mvnsh_history");
                LineReader reader = LineReaderBuilder.builder()
                        .terminal(context.terminal)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top