Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/alloy_folk/deps.ts>cliffy.validateFlags

An application installer for restriced macOS
Go to Latest
function cliffy.validateFlags
Re-export
import { cliffy } from "https://deno.land/x/alloy_folk@v1.1.1/deps.ts";
const { validateFlags } = cliffy;

Flags post validation. Validations that are not already done by the parser.

Parameters

Parse options.

values: Record<string, unknown>

Flag values.

optional
optionNameMap: Record<string, string> = [UNSUPPORTED]

Option name mappings: propertyName -> option.name