Thanks to visit codestin.com
Credit goes to Github.com

Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

betapictoris/dict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary CLI Go

View the dictionary through the CLI

dict

Installation

From release

curl -LO https://github.com/BetaPictoris/dict/releases/latest/download/dict    # Download the latest binary.
sudo install -Dt /usr/local/bin -m 755 dict                                    # Install Dictionary CLI to "/usr/local/bin" with the mode "755"

Build from source

If you're running Arch/Manjaro (or derivatives) you can install the git build from the AUR with your preferred AUR helper. e.g

paru -Syu dict-git

For all other distros, read below.

Dependencies

You need Go installed to build this program. You can install it from your distro's repository using one of the following commands:

# Arch/Manjaro (and derivatives)
sudo pacman -Syu go

# Debian/Ubuntu (and derivatives)
sudo apt install golang-go

Alternatively, you can install it from Go's official website.

Then, to build & install Dictionary CLI run:

git clone [email protected]:BetaPictoris/dict.git      # Clone the repository
cd dict                                             # Change into the repository's directory
make                                                # Build Wiki CLI
sudo make install                                   # Install Wiki CLI to "/usr/local/bin" with the mode "755"
sudo make uninstall                                 # Uninstall

User install

If you don't have access to sudo on your system you can install to your user's ~/.local/bin directory with this command:

install -Dt ~/.local/bin -m 755 dict

wiki

About

📔 View the dictionary through the CLI

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •