Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lesnitsky/editorconfig-cli

📝🔧 initialize .editorconfig in your terminal
https://github.com/lesnitsky/editorconfig-cli

cli command-line-tool editorconfig editorconfig-cli

Last synced: about 1 month ago
JSON representation

📝🔧 initialize .editorconfig in your terminal

Awesome Lists containing this project

README

        

# 📝🔧 Editorconfig CLI

Initialize .editorconfig in your terminal

---

## Installation

```sh
npm i -g editorconfig-cli
```

## Commands

- `init` - create new .editorconfig
- `add-rules` - add rules to existing .editorconfig file

## Usage

```sh
ec init
```

![usage](http://i.imgur.com/Swvr12G.gif)

to use defaults w/o questionnaire:

```sh
ec init -y
```

```sh
ec add-rules
```

## Generate a new .editorconfig without any installs

```sh
npx editorconfig-cli init -y
```

![usage](http://i.imgur.com/tRss4Gd.gif)

#### Help

```sh
ec --help
```