0.0
No commit activity in last 3 years
No release in over 3 years
explainshell.com input from terminal
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

>= 0
 Project Readme

ShellExplain

Explain shell input from your command line.

Thanks http://explainshell.com/

Installation

Add this line to your application's Gemfile:

gem 'shell_explain'

And then execute:

$ bundle

Or install it yourself as:

$ gem install shell_explain

Usage

$ explain "true && { echo success; } || { echo failed; }"
$ explain "find . -type f -print0"
$ explain "ssh -i keyfile -f -N -L 1234:www.google.com:80 host"
$ explain "lsof -c python -u user"
$ explain "mysql -u root -p -h 192.168.1.2"
$ explain "iptables -A INPUT -i eth0 -s ip-to-block -j DROP"
$ explain "git log --graph --abbrev-commit --pretty=oneline origin..mybranch"

change explain text color: color depend on 'ansi'

$ explain "true && { echo success; } || { echo failed; }" "green"

Screenshots

explain_shell1

explain_shell2

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request