Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more

deno-sade

A Deno port of sade.

Smooth (CLI) Operator ๐ŸŽถ

Sade is a small but powerful tool for building command-line interface (CLI) applications for Node.js Deno that are fast, responsive, and helpful!

It enables default commands, git-like subcommands, option flags with aliases, default option values with type-casting, required-vs-optional argument handling, command validation, and automated help text generation!

Usage

import sade from 'https://deno.land/x/sade/mod.js';

Porting

  • uses ESM instead of CommonJS
  • uses Deno.args (polyfills process.argv with two nonsensical items added before)
  • no TypeScript support (yet)