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

x/cliffy/examples/command/git_style_executables.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";
await new Command() .command("install [name]", "install one or more packages").executable() .command("search [query]", "search with optional query").executable() .command("update", "update installed packages").executable() .command("list", "list packages installed").executable() .parse(Deno.args);