/UrbanDictionary_CLI_Tool-urdi

Use urban dictionary from your command line

Primary LanguagePython

UrbanDictionary_CLI_Tool - urdi

Use urban dictionary from your command line

Without Piping into "less" :

command ran : $ urdi "Schrödinger's Douchebag"

without pipeing

With Piping into "less" :

command ran : $ urdi "Schrödinger's Douchebag" | less

with piping

Installation instruction for *nix systems:

To run this code from anywhere in terminal, do as follows:

2. cd UrbanDictionary_CLI_Tool-urdi/urdi/

3. pip3 install -r requirements.txt

4. chmod +x urdi

Optional steps(5 and 6)* :

5. In .bashrc(if you are in bash) file, add : export PATH="$PATH:/home/user/UrbanDictionary_CLI_Tool-urdi/urdi/"

6. source ~/.bashrc

*Upon doing above steps we can run "urdi" as any similar Linux command line commands(as "cd" , "pwd" , "ls"), with or without arguments.

For best formatting of text, sometime it maybe required to pipe the output into "less"