search ~master

Search the web from the terminal


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

DUB Package

Search the web from the terminal.

Demonstration of the search command

You can choose to search with either duckduckgo (default) or google with the --engine option.

So far the command is only tested for Linux systems, feel free to contribute/suggest other platforms (and features).

Install on Arch Linux

There is an AUR package that can be installed with:

$ yay -S search

Run through dub

There is a dub package available at https://code.dlang.org/packages/search and it can be ran directly with:

$ dub run search -- my search query | less

Usage

$ search my search query

It's often helpful to pipe the search thorugh less:

$ search my search query | less

For more details run:

$ search --help

Build

Use ldc2 to create a smaller and faster binary.

$ dub build --compiler=ldc2 --build=release
Authors:
  • Fredrik Söderström
Dependencies:
msgpack-d, arsd-official:terminal, arsd-official:http, arsd-official:dom
Versions:
1.1.1 2020-Jul-14
1.1.0 2020-Jul-14
~master 2020-Jul-15
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 14 downloads total

Score:
0.7
Short URL:
search.dub.pm