A DuckDuckGo CLI written in Swift.
- macOS (probably won't get around to supporting other platforms)
- Swift
Using just
[clone repo]
cd [git repo path]
just install [desired $PATH directory]
e.g.,
git clone https://github.com/junebash/swift-ddg-cli
cd swift-ddg-cli
just install ~/my_path
If you don't provide a PATH, it will install to ~/.local/bin/
by default
cd
into git repo directoryswift build
- Find
ddg
binary somewhere in.build
folder - Move binary somewhere in shell path
- Call
ddg [query]
ddg Swift programming language ^g
Note that ^
replaces !
for DuckDuckGo bang operators.