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

missing comma (,) at line endings in api/list #299

Closed
baykant opened this issue Feb 11, 2017 · 3 comments
Closed

missing comma (,) at line endings in api/list #299

baykant opened this issue Feb 11, 2017 · 3 comments

Comments

@baykant
Copy link

baykant commented Feb 11, 2017

request to https://www.gitignore.io/api/list returns recognized types but missing comma on line endings.

example:
momentics,monodevelop,nanoc,ncrunch,nesc
netbeans,nette,nim,ninja,node

which in return, parsing the type list results "nescnetbeans"

@joeblau
Copy link
Contributor

joeblau commented Feb 12, 2017

The reason for this is formatting stems from #156 when you use gi list | column -ts "," it will format all of the results in clean columns.

screen shot 2017-02-11 at 7 13 46 pm

What exactly are you trying to do, because there are two other formats for getting the list of files introduced in #160:

  • https://www.gitignore.io/api/list?format=lines
  • https://www.gitignore.io/api/list?format=json

@baykant
Copy link
Author

baykant commented Feb 12, 2017

Thanks for info. I use gitignore plugin for netbeans https://github.com/junichi11/netbeans-gitignore-io-plugin and before change it was parsing the list using comma. I will open an issue on that project and close this one.

@baykant baykant closed this as completed Feb 12, 2017
@joeblau
Copy link
Contributor

joeblau commented Feb 12, 2017

👍

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

2 participants