wie

command module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2016 License: BSD-3-Clause Imports: 8 Imported by: 0

README

License Go Report Card Build Status GoDoc Covarage

Answers Your dev Questions via The Command Line

wie means "how" in german and helps you to answer your programmer questions in the command line.

Usage

Simple, fast and short version (with code only)
# Get results for query: --link
$ wie docker link container
Running...
--link
Legend: [a] Show all, [Enter|q] Quit
Enter text: q # or simply hit enter again
Show complete answer
# Get results for query: golang set $GOPATH
$ wie golang set $GOPATH
Running...
GOPATH
Legend: [a] Show all, [Enter|q] Quit
Enter text: a
Check your GOPATH variable. Make sure your sources are under GOPATH/src

For instance, this thread illustrates what happen in the case where a go build is done outside of GOPATH/src:


  Looks like your GOPATH is set to ~/go but you ran the go install command on ~/dev/go


See Go Build


  The Go path is a list of directory trees containing Go source code. It is consulted to resolve imports that cannot be found in the standard Go tree.


If you have done go build, you can also try a go install (no custom.go): you want to install the package, not a single file.

Build

go get -u github.com/sbani/wie

Roadmap

  • Add display method all (short a): Show complete answer
  • Add number parameter to get more than one answer
  • Cache answers
  • Create something like an attach/detach mode with dynamic reaction
  • Add more search engines
  • Add user configuration files where one can change default behaviour
  • Add unit tests
  • Pretty print results

Contributors / Special Thanks

This little helper is a port of the tool howdoi written in Python. Special thanks to Benjamin Gleitzman!

Author

Sufijen Bani (@sbani_ger)

License

The BSD 3-Clause license, the same as the Go language. goquery's license is here.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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