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

https://github.com/hata6502/ignore-files

A CLI to ignore files by .*ignore.
https://github.com/hata6502/ignore-files

cli file filter gitignore ignore

Last synced: about 1 month ago
JSON representation

A CLI to ignore files by .*ignore.

Awesome Lists containing this project

README

          

Welcome to ignore-files 👋




Version


License: MIT


Twitter: hata6502

> A CLI to ignore files by .\*ignore.

## Install

```bash
npm install -g ignore-files
```

## Usage

```bash
$ zsh -c "echo **/*.ts" | ignore .gitignore
src/index.ts
```

To use `bash` only, use [globstar](https://www.linuxjournal.com/content/globstar-new-bash-globbing-option).

## Application

For tools that don't support `.*ignore`

```bash
verilator --lint-only -Wall $(echo **/*.v | ignore .gitignore)
```

## Build

```bash
npx tsc
```

## Format

```bash
npm run fix
```

## Run tests

```bash
npm test
```

## Author

Tomoyuki Hata **Tomoyuki Hata**

- Website: [Scrapbox](https://scrapbox.io/hato6502-50664244/)
- Twitter: [@hata6502](https://twitter.com/hata6502)
- Github: [@hata6502](https://github.com/hata6502)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/hata6502/ignore-files/issues).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2021 [Tomoyuki Hata](https://github.com/hata6502).

This project is [MIT](https://github.com/hata6502/ignore-files/blob/master/LICENSE) licensed.

---

_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_