Skip to content

wohb/okify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

okify

Your feelings are more important than production

Description

Knowing there is an issue is hurtful, and okify solves exactly that problem.
Simply pipe anything into the okify CLI, and get the result status you want!

Installation

Mac

brew install wget
wget https://github.com/wohb/okify/releases/latest/download/okify -P /usr/local/bin && chmod +x /usr/local/bin/okify

Ubuntu

wget https://github.com/wohb/okify/releases/latest/download/okify -P $HOME/bin && chmod +x $HOME/bin/okify

Windows

choco install okify

Usage

Ignore test results:

pytest | okify

# Output:       "You are doing such a good job!" 
# Exit Code:    0

Overlook scripts failures:

./cobol-rules.sh | okify

# Output:       "Looks good to me!" 
# Exit Code:    0

Use the '--status' flag to indicate how good the situation is (Accepts any value):

python main.py | okify --status "good"

# Output:       "Ignore the haters!" 
# Exit Code:    0
go run main.go | okify --status "bad"

# Output:       "Everything is fine!" 
# Exit Code:    0

Use the '--im-offended' flag to get an apology:

return 1 | okify --im-offended

# Output:       "I'm so sorry, you are the best!" 
# Exit Code:    0

Use the '--cowsay' flag to output using a cow:

ls nonexistingpath | okify --cowsay

# Output: " 
_______________________________
/ No one is as good as you are! \
\                               /
 -------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
" 
# Exit Code:    0

Contributing

  1. Open an issue that start with "It's not really an issue"
  2. Avoid suggesting improvements as it's offensive
  3. Reply to the issue with "Thank you!" and close it