Skip to content

Conversation

p0nce
Copy link
Contributor

@p0nce p0nce commented Sep 15, 2015

A way to solve #663

@MartinNowak
Copy link
Member

I think the command line tool should provide the expected dub search functionality.
Adding a dedicated command just to browse an URL isn't justified IMO.

@p0nce
Copy link
Contributor Author

p0nce commented Sep 20, 2015

How would a dub search command be better than opening an URL?

@s-ludwig
Copy link
Member

Probably mostly for command-line fanatics, but since the core functionality is already there, it's an easy target. An advantage apart from working without a GUI is that the search output can be processed by a shell script to do additional things with it. Of course using the website has a lot advantages, too, and something like dub search -web could be an alternative if there is demand.

@p0nce
Copy link
Contributor Author

p0nce commented Sep 20, 2015

Well, I use DUB day in day out. Opening http://code.dlang.org is a common task.
dub search -web would be ok of course.

@p0nce p0nce closed this Sep 21, 2015
@MartinNowak
Copy link
Member

I added the dub search command, so it would be easy now to make dub search -web 'foo bar' open http://code.dlang.org/search?q=foo%20bar.

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

Successfully merging this pull request may close these issues.

3 participants