Skip to content
This repository was archived by the owner on Jun 21, 2019. It is now read-only.

Conversation

@siadat
Copy link

@siadat siadat commented Jun 20, 2016

Example usage:

clearbit prospect -title CEO,COO -title CTO company.com

Closes #17

titlesCSV = ctx.StringSlice("title")
)

titles := make([]string, 0)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can probably use "var titles []string" instead

@croaky
Copy link
Contributor

croaky commented Jun 20, 2016

I like the idea! Could use a spec? Should it also support ", " (space after comma)?

Example usage:

    clearbit prospect -title CEO,COO company.com
    clearbit prospect -title "CEO, COO" -title CTO company.com

Closes thoughtbot#17
@siadat
Copy link
Author

siadat commented Jun 20, 2016

Should it also support ", " (space after comma)?

I think so. I just updated the commit so spaces before and after comma are ignored. E.g.:

clearbit prospect -title "CEO, COO" company.com

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants