Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Class NodeConsole_PromptExperimental

    Only used by NodeConsole.

    2.0.0-alpha

    Index

    Constructors

    Properties - Args

    Properties - Utilities

    Methods - Interactivity

    Methods - Misc.

    Constructors

    Properties - Args

    A completed args object.

    Properties - Utilities

    A local instance of MessageMaker initialized using {@link NodeConsole.Args}.msgMaker.

    Methods - Interactivity

    • Experimental

      Type Parameters

      Parameters

      Returns Promise<undefined | string>

    • Experimental

      Type Parameters

      • Return extends SelectValue
      • Config extends Omit<SelectConfig<Return>, "choices"> & {
            choices: {
                value: Return;
                description?: string;
                disabled?: string | boolean;
                name?: string;
                short?: string;
            }[];
        } = Omit<SelectConfig<Return>, "choices"> & {
            choices: {
                value: Return;
                description?: string;
                disabled?: string | boolean;
                name?: string;
                short?: string;
            }[];
        }

      Parameters

      Returns Promise<undefined | Return>

    Methods - Misc.