Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cliffy/examples/command/dotted_options.ts

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
File
#!/usr/bin/env -S deno run
import { Command } from "../../command/command.ts";
const { options } = await new Command() .option( "-b.a, --bitrate.audio, --audio-bitrate <bitrate:number>", "Audio bitrate", ) .option( "-b.v, --bitrate.video, --video-bitrate <bitrate:number>", "Video bitrate", ) .parse();
console.log(options);