Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the option to use tabs instead of spaces in pom snippets #46

Open
hannotify opened this issue Feb 8, 2022 · 0 comments
Open

Add the option to use tabs instead of spaces in pom snippets #46

hannotify opened this issue Feb 8, 2022 · 0 comments

Comments

@hannotify
Copy link
Contributor

Not my intention to start a flame war here on tabs vs. spaces, but I noticed that the pom snippets use spaces for indentation:

❯ mcs search cocoon:cocoon-repository:2.1.11
Searching for cocoon:cocoon-repository:2.1.11...

    <dependency>
        <groupId>cocoon</groupId>
        <artifactId>cocoon-repository</artifactId>
        <version>2.1.11</version>
    </dependency>

It would be nice if the user could add an option to make the generated pom snippets use tabs for indentation:

-t, --use-tabs           Uses tabs instead of spaces for indentation in pom snippets

If you like the idea, I would be happy to contribute myself, by the way!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant