x/cliffy/examples/command/required_options.ts
1234567891011#!/usr/bin/env -S deno runimport { Command } from "../../command/command.ts";await new Command() .allowEmpty(false) .option("-c, --cheese [type:string]", "pizza must have cheese", { required: true, }) .parse(Deno.args);