@mikeyt23/node-cli-utils
    Preparing search index...

    Function getRequiredCliParam

    • Get's the value for the CLI param at process.argv[argvIndex] and throws the specified optional errorMessage or a default error message if the CLI arg is missing.

      Notes on common index position values:

      • 0: NodeJS path
      • 1: Script path
      • 2: First script param - for swig this will be the task name

      Parameters

      • argvIndex: number
      • OptionalerrorMessage: string

      Returns string