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.
- Host: GitHub
- URL: https://github.com/hata6502/ignore-files
- Owner: hata6502
- License: mit
- Created: 2021-03-10T01:40:34.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-04-24T23:33:34.000Z (about 3 years ago)
- Last Synced: 2025-10-24T09:59:20.859Z (9 months ago)
- Topics: cli, file, filter, gitignore, ignore
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/ignore-files
- Size: 1.03 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Welcome to ignore-files 👋
> 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**
- 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)_