Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "cli/command"

Index

Functions

Const callback

  • callback(argv: Arguments, formatOutput?: Function, displayJson?: Function): (Anonymous function)
  • Parameters

    • argv: Arguments
    • Optional formatOutput: Function
    • Optional displayJson: Function

    Returns (Anonymous function)

Const getTlsCert

  • getTlsCert(certPath: string): Buffer

Const loadXudClient

  • loadXudClient(argv: Arguments<any>): Promise<XudClient>
  • A generic function to instantiate an XU client.

    Parameters

    • argv: Arguments<any>

      the command line arguments

    Returns Promise<XudClient>

Const loadXudConfig

  • loadXudConfig(argv: Arguments<any>): Promise<void>
  • Attempts to load the xud configuration file to dynamically determine the port and interface that xud is listening for rpc calls on as well as the tls cert path, if arguments specifying these parameters were not provided.

    Parameters

    • argv: Arguments<any>

      the command line arguments

    Returns Promise<void>

Const loadXudInitClient

  • loadXudInitClient(argv: Arguments<any>): Promise<XudInitClient>

Generated using TypeDoc