floatOption | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function floatOption

    • Accept a floating point value

      Parameters

      • Optionalsettings: { end?: number; start?: number }
        • Optionalend?: number

          Maximum accepted value (inclusive)

        • Optionalstart?: number

          Minimum accepted value (inclusive)

      Returns CLIArgumentType<number>

      threshold: {
      type: floatOption({ start: 0 }),
      description: "Threshold percentage of total (Deduplicated) size to report",
      default: 1
      }