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)
class Command
implements Cmd

Constructors

new
Command(cmd?: Cmd)

Properties

readonly
long: string | undefined
readonly
name: string
readonly
short: string | undefined
showHelp: false
readonly
use: string

Methods

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 { Command } from "@aricart/cobra";
or

Import directly with a jsr specifier

import { Command } 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 { Command } 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 { Command } from "@aricart/cobra";

Add Package

vlt install jsr:@aricart/cobra

Import symbol

import { Command } from "@aricart/cobra";

Add Package

npx jsr add @aricart/cobra

Import symbol

import { Command } from "@aricart/cobra";

Add Package

bunx jsr add @aricart/cobra

Import symbol

import { Command } from "@aricart/cobra";