~evanj/wtf2

The wtf2 utility, much like the original wtf for NetBSD 1.5, looks up the meaning of one or more term operands specified on the command line.
Fix(main.go): Cleaning error messages.
Feat(main.go): Remove flags from terms.
Feat(definition String method): Adding String() method definition to

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~evanj/wtf2
read/write
git@git.sr.ht:~evanj/wtf2

You can also use your local clone with git send-email.

NAME

    wtf2 — look up terms

SYNOPSIS

    wtf2 [-w width] [-t time] [is] term ...

DESCRIPTION

    The wtf2 utility, much like the original wtf for NetBSD 1.5, looks up the
    meaning of one or more term operands specified on the command line.

    term will be search on the website Urban Dictionary, found at
    https://www.urbandictionary.com/. If no match has been found wtf2 will so
    state.

    The optional is operand will be ignored, allowing the fairly natural "wtf2 is
    WTF" usage.

    -w width
    	Overrides the default max width used while printing to standard out. The
    	default value used will be 80.

    -t time
    	Overrides the default timeout period to what for response from Urban
    	Dictionary. The default value used will be five seconds.

SEE ALSO

    wtf(6), make(1), pkg_info(1), whatis(1), fortune(6)

HISTORY

    wtf first appeared in NetBSD 1.5. Initially it only translated acronyms;
    functionality to look up the meaning of terms in other sources was added
    later.

    wtf2 first appeard in 2019. A silly Go CLI program made within an hour. I hope
    you find it at least a little bit interesting.