Skip to content

Support formatting multiple files in a single command #192

Description

@kevgo

Thanks for building and maintaining Ghokin, I use it almost every day and really appreciate the work that goes into it. ❤️ 🙏

Currently, Ghokin accepts only a single file or directory path per invocation. It would be useful to support passing multiple .feature files, for example:

ghokin fmt replace path/to/one.feature path/to/two.feature

Use case

I'd like to run Ghokin only against .feature files changed on the current Git branch, rather than formatting the entire repository. This allows introducing Ghokin gradually on a large legacy codebase with a different Gherkin style, and makes formatting faster.

Would you be open to supporting multiple file paths as positional arguments?

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