gitignore-it icon indicating copy to clipboard operation
gitignore-it copied to clipboard

Add support to generate gitignore file directly with specified language

Open ntnyq opened this issue 5 years ago • 3 comments

i.e:

$ gitignore Node

And I thougnt it's better to make first letter case-insensitive.

ntnyq avatar Aug 13 '19 03:08 ntnyq

Love the idea, it totally makes sense to have the choice between selecting via a list and inputting it directly. If you want to work on it feel free to do so, otherwise I'll look into it

christopherkade avatar Aug 19 '19 06:08 christopherkade

@christopherkade I can work on this feature but we need to agree on the way we provide this feature. I have the below process in my mind:

  1. User types gitignore list which will return the list of gitignore files identified by names
  2. Upon selecting or copying the text, user types gitignore node which will generate .gitignore file.

I'm confused whether to provide the user an option to see the list of gitignore files, if not, how would user knows which keyword mapped to the corresponding .gitignore file?

gangadharjannu avatar Sep 17 '19 19:09 gangadharjannu

You could use gitignore --help to get the list of commands. That is the typical setup I would expect from a command line program like this. Then the user just has to choose from the list of commands of which they need to use. i.e. gitignore Node or gitignore Dotnet

codenamejason avatar Jan 14 '20 14:01 codenamejason