Skip to content

Ignore files based on .gitignore #2

@mcandre

Description

@mcandre

Awesome command line app, editorconfig-cli is really fast and consistent!

I found a cheap way to filter out .gitignore'd files, by writing a utility app called flcl:

$ go get github.com/amyboyd/editorconfig-cli
$ go get go get github.com/mcandre/flcl/...
$ flcl . | xargs -n 100 editorconfig-cli check

flcl lists all non-gitignored files, which the standard xargs unix utility then passes as additional arguments, 100 at a time, to editorconfig-cli calls.

Would you be interested in adding gitignores to editorconfig-cli directly, or perhaps integrating gitignores into a wrapper CLI application?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions