# commandos

> Command line parser, compatible with DOS style command

Latest version **0.10.2** (published 2022-05-13) · 0 weekly downloads

## Install

```sh
npm install commandos
pnpm add commandos
yarn add commandos
bun add commandos
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.10.2 |
| Published | 2022-05-13 |
| First published | 2017-12-21 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 10 |
| Unpacked size | 81.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | YounGoat |
| Maintainers | youngoat, youngoat.elite |
| Keywords | command, command-line, cli, options, dos, getopts |

## Links

- npm: https://www.npmjs.com/package/commandos
- Repository: https://github.com/YounGoat/nodejs.commandos
- Issues: https://github.com/YounGoat/nodejs.commandos/issues
- npm.io page: https://npm.io/package/commandos

## Dependencies (10)

- [htp](https://npm.io/package/htp.md) ^0.12.1
- [if2](https://npm.io/package/if2.md) ^0.2.0
- [qir](https://npm.io/package/qir.md) ^0.2.0
- [noda](https://npm.io/package/noda.md) ^0.1.2
- [manon](https://npm.io/package/manon.md) ^0.2.0
- [meant](https://npm.io/package/meant.md) ^1.0.2
- [colors](https://npm.io/package/colors.md) ^1.4.0
- [jinang](https://npm.io/package/jinang.md) ^0.21.0
- [semver](https://npm.io/package/semver.md) ^7.3.5
- [minimatch](https://npm.io/package/minimatch.md) ^3.0.4

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 0.10.2 (latest) — 2022-05-13
- 0.10.1 — 2021-04-28
- 0.10.0 — 2021-04-28
- 0.9.0 — 2021-04-14
- 0.7.4 — 2021-03-04
- 0.7.3 — 2021-03-04
- 0.7.2 — 2021-03-03
- 0.7.1 — 2021-03-03
- 0.7.0 — 2021-03-02
- 0.6.1 — 2021-01-21
- 0.6.0 — 2020-12-15
- 0.5.3-minior.0 — 2020-12-15
- 0.5.2 — 2020-09-14
- 0.5.1 — 2019-11-08
- 0.5.0 — 2019-07-25
- … 15 more at https://npm.io/package/commandos/versions

## README

#	commandos
__Command line parser, compatible with DOS style command__

[![coverage status of github.com/YounGoat/nodejs.commandos](https://coveralls.io/repos/github/YounGoat/nodejs.commandos/badge.svg?branch=master)](https://coveralls.io/github/YounGoat/nodejs.commandos2?branch=master)

[![total downloads of commandos](https://img.shields.io/npm/dt/commandos.svg)](https://www.npmjs.com/package/commandos)
[![commandos's License](https://img.shields.io/npm/l/commandos.svg)](https://www.npmjs.com/package/commandos)
[![latest version of commandos](https://img.shields.io/npm/v/commandos.svg)](https://www.npmjs.com/package/commandos)
[![coverage status of github.com/YounGoat/nodejs.commandos](https://img.shields.io/coveralls/YounGoat/nodejs.commandos/master.svg)](https://coveralls.io/github/YounGoat/nodejs.commandos2?branch=master)
[![dependencies of github.com/YounGoat/nodejs.commandos](https://david-dm.org/YounGoat/nodejs.commandos/status.svg)](https://david-dm.org/YounGoat/nodejs.commandos)
[![devDependencies of github.com/YounGoat/nodejs.commandos](https://david-dm.org/YounGoat/nodejs.commandos/dev-status.svg)](https://david-dm.org/YounGoat/nodejs.commandos?type=dev)
[![build status of github.com/YounGoat/nodejs.commandos](https://travis-ci.org/YounGoat/nodejs.commandos.svg?branch=master)](https://travis-ci.org/YounGoat/nodejs.commandos)
[![star github.com/YounGoat/nodejs.commandos](https://img.shields.io/github/stars/YounGoat/nodejs.commandos.svg?style=social&label=Star)](https://github.com/YounGoat/nodejs.commandos/stargazers)

LANGUAGES / [简体中文](./README.zh_CN.md)

The name *commandos* is combination of *command* and *DOS*. __commandos__ is a light-weighted command line parser which help to connect cli and Node.js application.

##  Table of Contents

* [API](#api)
* [Why *commandos*](#why-commandos)
* [About](#about)
* [References](#references)
* [Links](#links)

##  API

*   [commandos.parse()](docs/parse.md)
*   [commandos.run()](docs/run.md)

##  Why *commandos*

There are already many packages help you to parse command line content, in which [minimist](https://www.npmjs.com/package/minimist) and [commander](https://www.npmjs.com/package/commander) are probably most famous. However, sometimes __minimist__ is too slim while __commander__ is too heavy. That is why I wrote __commandos__.

##  About

*commandos* = *command* + *DOS*

##  References

If __commandos__ is not to your taste, maybe the following packages is considerable (in alphabetical order):

*   [commander](https://www.npmjs.com/package/commander)
*   [getopts](https://www.npmjs.com/package/getopts)
*   [minimist](https://www.npmjs.com/package/minimist)
*   [nomnom](https://www.npmjs.com/package/nomnom)
*   [optimist](https://www.npmjs.com/package/optimist)
*   [yargs](https://www.npmjs.com/package/yargs)
*   [cli-argparse](https://www.npmjs.com/package/cli-argparse)

##  Links

*	[CHANGE LOG](./CHANGELOG.md)
*	[Homepage](https://github.com/YounGoat/nodejs.commandos)

---
_Source: https://npm.io/package/commandos · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
