Stop going back and forth to README.
CLI to execute commands from local or Github.
Read on Medium
Hassle Free: Easy install on any arch. No dependencies.
About: Hit re
command, select multiple commands and execute.
Platforms: Supports (arm64, arch64, Mac, Mac M1, Ubuntu and Windows).
Supports: Any README.md on local or from Github and Github Enterprise URLs.
Supports: Multi-line commands. And colorful UI based on previous execution status.
Using curl
curl -sLk https://raw.githubusercontent.com/kevincobain2000/re/master/git.io.sh | sh
echo '\nexport PATH="$HOME/.re/bin:$PATH"\n' >> ~/.bashrc
or via go
go install github.com/kevincobain2000/re@latest
re
# By default it looks for sh, bash, powershell etc.. code blocks
# filter by language i.e only commands inside ` ` ` sh blocks are parsed
re sh
OR from URL
# automatically picks README.md from main, master or develop branch
re https://github.com/kevincobain2000/re
# or direct link any other MD file, even provide custom tags
re custom_tag https://github.com/kevincobain2000/re/blob/master/EXAMPLE.md
re
displays commands upon previous execution status as RED or GREEN.
You can clear the colors by using re clear
flag or re clear <url>
.
This will clear the colors for the given URL, when no URL is provided then cleared based on the commands in README.md
in the current dir.
- v1.0 - Initial release
- v1.1 - Add support for
re github.com/...repo
- v1.3 - Add support for enterprise and direct tree/blob paths of
README.md
. Multi-line parsing. And Tags. - v1.4 - Colors, commands history of exit codes.