bariscanyilmaz / dotignore

Creat your .gitignore files with CLI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong template selection

bariscanyilmaz opened this issue · comments

Problem

When I type dotignore init c, it creates C# template but I want C template.

What cause this

Dotignore finds the first template which contains the parameter.

Solution or Suggestion

Templates should be ordered by their parameter consistency rate.
Length of contained parameter in template name / length of tempalte name