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

x/cliffy/flags/validate_flags.ts>validateFlags

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function validateFlags
import { validateFlags } from "https://deno.land/x/cliffy@v0.23.0/flags/validate_flags.ts";

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