Skip to main content
Home

A small cli framework for Deno/Node.

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
82%
Published
11 months ago (0.0.15)
interface Cmd

Configuration for a Cmd

Properties

Single line usage for the command, the first word should be the name of the cmd

optional
short: string

A short description for the command.

optional
long: string

A long description for the command.

optional
run: Run

Callback for the command

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@aricart/cobra

Import symbol

import { type Cmd } from "@aricart/cobra";
or

Import directly with a jsr specifier

import { type Cmd } from "jsr:@aricart/cobra";

Add Package

pnpm i jsr:@aricart/cobra
or (using pnpm 10.8 or older)
pnpm dlx jsr add @aricart/cobra

Import symbol

import { type Cmd } from "@aricart/cobra";

Add Package

yarn add jsr:@aricart/cobra
or (using Yarn 4.8 or older)
yarn dlx jsr add @aricart/cobra

Import symbol

import { type Cmd } from "@aricart/cobra";

Add Package

vlt install jsr:@aricart/cobra

Import symbol

import { type Cmd } from "@aricart/cobra";

Add Package

npx jsr add @aricart/cobra

Import symbol

import { type Cmd } from "@aricart/cobra";

Add Package

bunx jsr add @aricart/cobra

Import symbol

import { type Cmd } from "@aricart/cobra";