BC-Envelope-CLI TypeScript Library - v1.0.0-alpha.16
    Preparing search index...

    Function readPassword

    • Reads a password either from the provided argument, via the system's askpass tool when enabled, or interactively via terminal prompt.

      Parameters

      • prompt: string

        The prompt to show the user

      • OptionalpasswordOverride: string

        An optional password string

      • useAskpass: boolean = false

        Boolean flag to indicate if the system's askpass should be used

      Returns Promise<string>

      The password string