lukeautry / cli-parser

CLI Parser for Deno

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

Create CLI applications using Deno and TypeScript.

CLI is configured using a declarative, type-safe syntax. Command handlers infer the type of the parsed result based on the configuration.

Support for:

  • Commands
  • Subcommands, including nested subcommands
  • Arguments
    • string, number, integer, and boolean types
    • array types
    • optional types
    • enum types
    • aliases
  • Help text

Usage

Check out the examples

Run Tests

deno test

About

CLI Parser for Deno


Languages

Language:TypeScript 100.0%