wiki

command module
v0.0.0-...-ef4dba4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2022 License: CC0-1.0 Imports: 11 Imported by: 0

README

wiki

Format urls for wikipedia, wikitionary and open them with a browser.

Go Reference

You need Go to run wiki

How-to install Go.

Install wiki

2 steps

    1. add "$HOME/go/bin" to your $PATH , ex: on ~/.profile
PATH="$HOME/go/bin:$PATH"
    1. run
go install git.sr.ht/~rnek0/wiki@latest

Use

❯ wiki -g .
Vous voulez savoir si . est suivi par git
>>> Le dossier /home/rnek0/codes/go/goRepos/wiki/ est suivi par git.
>>> Je vous montre le repo sur internet ? y/n
❯ wiki -w home
I'll see home on wikipedia.

Opens https://en.wikipedia.org/wiki/Home in your browser.

  • -g . tests if directory is followed by git and opens site repo.
  • -w dodo will see dodo on wikipedia.
  • -d dodo will see dodo on wikitionary.
  • -h Displays help.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL