Giter VIP home page Giter VIP logo

shwiki's Introduction

bash_unit CI Shellcheck CI GH Language GH stars GH tag GH License basher install

shwiki

Wikipedia CLI in bash

๐Ÿ”ฅ Usage

Program: shwiki 1.0.3 by [email protected]
Updated: Apr 24 23:47:08 2022
Description: Wikipedia CLI in bash
Usage: shwiki [-h] [-q] [-v] [-c] [-f] [-l <log_dir>] [-t <tmp_dir>] [-w <width>] [-p <paragraphs>] [-s <sentences>] <action> <input?>
Flags, options and parameters:
    -h|--help        : [flag] show usage [default: off]
    -q|--quiet       : [flag] no output [default: off]
    -v|--verbose     : [flag] output more [default: off]
    -c|--cleanup     : [flag] cleanup Wikipedia text [default: off]
    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]
    -l|--log_dir <?> : [option] folder for log files   [default: /Users/pforret/log/shwiki]
    -t|--tmp_dir <?> : [option] folder for temp files  [default: /Users/pforret/Code/Github/shwiki/.tmp]
    -w|--width <?>   : [option] max line width  [default: 100]
    -p|--paragraphs <?>: [option] stop after N paragraphs  [default: 1]
    -s|--sentences <?>: [option] stop after N sentences  [default: 10]
    <action>         : [choice] action to perform  [options: search,action2,check,env,update]
    <input>          : [parameter] search term (optional)

โšก๏ธ Examples

> shwiki search London
# get Wikipedia information about London

> shwiki -p 2 -s 10 -c search London
# get Wikipedia information about London, max 2 paragraphs, max 10 sentences, and clean up the text

๐Ÿš€ Installation

with basher

$ basher install pforret/shwiki

or with git

$ git clone https://github.com/pforret/shwiki.git
$ cd shwiki

๐Ÿ“ Acknowledgements

ยฉ 2022 Peter Forret

shwiki's People

Contributors

pforret avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.