## Uses of Interface
picocli.CommandLine.IFactory

- Packages that use CommandLine.IFactory
  Package | Description
  --- | ---
  picocli | Provides classes and interfaces for the main picocli command line parsing and `autocompletion` functionality.

- - ### Uses of CommandLine.IFactory in picocli

    Methods in picocli with parameters of type CommandLine.IFactory
    Modifier and Type | Method and Description
    --- | ---
    `CommandLine.Model.CommandSpec` | CommandLine.Model.CommandSpec.`addMethodSubcommands(CommandLine.IFactory factory)` Reflects on the class of the user object and registers any command methods (class methods annotated with `@Command`) as subcommands.
    `static <C extends Callable<T>,T> T` | CommandLine.`call(Class<C> callableClass, CommandLine.IFactory factory, PrintStream out, CommandLine.Help.Ansi ansi, String... args)` Delegates to `CommandLine.call(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)` with `System.err` for diagnostic error messages.
    `static <C extends Callable<T>,T> T` | CommandLine.`call(Class<C> callableClass, CommandLine.IFactory factory, PrintStream out, PrintStream err, CommandLine.Help.Ansi ansi, String... args)` Convenience method to allow command line application authors to avoid some boilerplate code in their application.
    `static <C extends Callable<T>,T> T` | CommandLine.`call(Class<C> callableClass, CommandLine.IFactory factory, PrintStream out, String... args)` Delegates to `CommandLine.call(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)` with `System.err` for diagnostic error messages, and `CommandLine.Help.Ansi.AUTO`.
    `static <C extends Callable<T>,T> T` | CommandLine.`call(Class<C> callableClass, CommandLine.IFactory factory, String... args)` Delegates to `CommandLine.call(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)` with `System.out` for requested usage help messages, `System.err` for diagnostic error messages, and `CommandLine.Help.Ansi.AUTO`.
    `static CommandLine.Model.CommandSpec` | CommandLine.Model.CommandSpec.`forAnnotatedObject(Object userObject, CommandLine.IFactory factory)` Creates and returns a new `CommandSpec` initialized from the specified associated user object.
    `static CommandLine.Model.CommandSpec` | CommandLine.Model.CommandSpec.`forAnnotatedObjectLenient(Object userObject, CommandLine.IFactory factory)` Creates and returns a new `CommandSpec` initialized from the specified associated user object.
    `static <R extends Runnable> void` | CommandLine.`run(Class<R> runnableClass, CommandLine.IFactory factory, PrintStream out, CommandLine.Help.Ansi ansi, String... args)` Delegates to `CommandLine.run(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)` with `System.err` for diagnostic error messages.
    `static <R extends Runnable> void` | CommandLine.`run(Class<R> runnableClass, CommandLine.IFactory factory, PrintStream out, PrintStream err, CommandLine.Help.Ansi ansi, String... args)` Convenience method to allow command line application authors to avoid some boilerplate code in their application.
    `static <R extends Runnable> void` | CommandLine.`run(Class<R> runnableClass, CommandLine.IFactory factory, PrintStream out, String... args)` Delegates to `CommandLine.run(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)` with `System.err` for diagnostic error messages, and `CommandLine.Help.Ansi.AUTO`.
    `static <R extends Runnable> void` | CommandLine.`run(Class<R> runnableClass, CommandLine.IFactory factory, String... args)` Delegates to `CommandLine.run(Class, IFactory, PrintStream, PrintStream, Help.Ansi, String...)` with `System.out` for requested usage help messages, `System.err` for diagnostic error messages, and `CommandLine.Help.Ansi.AUTO`.

    Constructors in picocli with parameters of type CommandLine.IFactory
    Constructor and Description
    `CommandLine(Object command, CommandLine.IFactory factory)` Constructs a new `CommandLine` interpreter with the specified object (which may be an annotated user object or a `CommandSpec`) and object factory.

Copyright © 2019. All rights reserved.