# edit-cli

> Open the default text editor

Latest version **0.1.1** (published 2017-06-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install edit-cli
pnpm add edit-cli
yarn add edit-cli
bun add edit-cli
```

Provides the command `edit`.

## 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.1.1 |
| Published | 2017-06-30 |
| First published | 2017-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rubén Norte |
| Maintainers | rubennorte |
| Keywords | open, edit, editor, text, file, default, visual |

## Links

- npm: https://www.npmjs.com/package/edit-cli
- npm.io page: https://npm.io/package/edit-cli

## Alternatives

- [ext-list](https://npm.io/package/ext-list.md) — 6.3M weekly downloads
- [@lexical/selection](https://npm.io/package/@lexical/selection.md) — 3.8M weekly downloads
- [@lexical/text](https://npm.io/package/@lexical/text.md) — 3.6M weekly downloads
- [@lexical/clipboard](https://npm.io/package/@lexical/clipboard.md) — 3.0M weekly downloads
- [@tiptap/extension-mention](https://npm.io/package/@tiptap/extension-mention.md) — 3.0M weekly downloads

## Recent versions

- 0.1.1 (latest) — 2017-06-30
- 0.1.0 — 2017-06-30

## README

# edit-cli

CLI program to open the default text editor of the user.

## Installation

```
npm install edit-cli
```

## Usage

```
edit <file>
```

Example:

```
edit CHANGELOG.md
```

## Motivation

This CLI program is useful to enforce users to edit certain files in npm lifecycle hooks.
For example, you may want to automatically edit the CHANGELOG.md file when a new version is created:

package.json:

```json
{
  "scripts": {
    "version": "edit CHANGELOG.md"
  },
  "devDependencies": {
    "edit-cli": "..."
  }
}
```

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