/wiki_terminal

This will enable you wiki in terminal. This is inspired by longcw's youdao.

Primary LanguagePython

wiki_terminal

==== This will enable you wiki in the terminal.

Install:

you can install it by python install setup.py

Help:

  • wiki -h(--help)for help

  • wiki -s(--summary) argto get summary about the arg

  • wiki -S(--search) argto search arg on wiki

  • wiki -r(--random) s(summary)to get a random tittle (you can get summary about it if you want.)

  • wiki -g(--geosearch) latitude longitude (radius) Do a wikipedia geo search for latitude and longitude using.

  • wiki -H(--history) number show your search history and allow you to search again easily.

  • wiki -c(--clrhis) clear your query history.

Version:

  • Version 1.0.0 basic function built
  • Version 1.0.1 the geosearch function is added
  • Version 1.1.0 the keyword-highlight function is added
  • version 1.1.1 the search function bug fixed and history function added