Optimize your development productivity in the terminal
Provides developers with the ability for optimising the execution of commonly performed tasks, commands, directory navigations, and environment setups/script executions.
I found myself executing the same commands repeatedly, finding navigation on the terminal for frequently accessed locations needlessly slow, and the task of pushing out new code via manually submitting a PR on my browser repetitive and time-wasting. I decided to start developing my own bash scripting library to help alleviate these issues, and realized the whole world of opportunity I had to help optimize my own daily workflows on the terminal. Due to my experience working simultaneously on Mac and Linux machines one of the key parts of the WYX-CLI project was to also allow the same code to run in different shells and operating systems.
If you have found this tool useful/insightful please leave a :star: on the repository it really helps me out!
I also have a buymeacoffee sponsor link if you would like to help turn my caffeine addiction into a problem :coffee::zap:
git clone git@github.com:hwixley/WYX-CLI.git
cd WYX-CLI
chmod +x setup.sh && ./setup.sh
source ~/.bashrc
(source ~/.zshrc
for unix systems)Type wyx
to see the list of commands and start developing some magic!
git diff
and git status
outputs) when using the wyx push
command. This requires an OpenAI API key.wyx setup smart_commit
rm -rf <path-of-installation>
~/.bashrc
for linux systems, and ~/.zshrc
for unix systems)
gedit ~/.bashrc
If gedit
is not available you can always use vim instead:
vi ~/.bashrc
# WYX-CLI
alias wyx="<path-of-installation>/wyx-cli.sh"
View current dependencies for your system by running:
wyx list-deps
version
: WYX-CLI Versionsys-info
: Get Detailed System Informationinstall-deps
: Install WYX-CLI dependenciesupdate-deps
: Update the project dependencieslist-deps
: List the project dependenciescd <mydir?>
: Navigate Directory Aliasesback
: Go Back A Directoryrun <myscript>
: Run Script Aliasesvsc <mydir>
: Open Directory Aliases in VSCodeginit
: Initialise Git Repositorypush
: Add-Commit-Push Git Changes to Current Branchpull
: Pull Git Changes for Current Branchmpull
: Checkout-Pull Git Changes From Master/Main Branchcommits
: View Your Branch Git Commitslastcommit
: View Your Last Commit & Copy It’s IDnb <branch-name?>
: Checkout-Add-Commit-Push A New Git Branchpr
: Open A Pull Request From Your Current Git Branch on GitHubbpr <branch-name?>
: Checkout-Add-Commit-Push A New Git Branch & Open A PR For It On GitHubpp
: Pull-Push Git Changes to Current Branchrepo
: View Your Repository On GitHubbranch
: View Your Current Branch On GitHubactions
: View Your Repository Actions On GitHubissues
: View Your Repository Issues On GitHubprs
: View Your Repository PRs On GitHubnotifs
: View Your GitHub Notificationsprofile
: View Your GitHub Profileorg <myorg?>
: View Your GitHub Organisationuser
: View Your User Configurationmydirs
: View Your Directory Aliases Configurationmyorgs
: View Your GitHub Organisation Configurationmyscripts
: View Your Scripts Configurationtodo
: View Your To-Do Listeditd <user|myorgs|mydirs|myscripts|todo>
: Edit Your WYX-CLI Configurationedits <myscript?>
: Edit A Script Filenewscript <name?>
: Create A New Scriptkeystore <key?> <value?>
: Add a key-value pair to your ‘.env’ keystoresetup <smart_commit>
: Setup WYX-CLI Third Party API-based utilitiesfind <regex?>
: Regex Search Current Directory For Filefopen <dir|mydir?>
: Open current directory in your files applicationencrypt <file|dir?>
: Encrypt a file using GPGdecrypt <file?>
: Decrypt a GPG-encrypted fileip
: View Your Local & Public IPswifi
: View Available WiFi Networkshardware-ports
: View Your Hardware Portswpass
: View Your Saved WiFi Passwordsspeedtest
: Run A Speed Test On Your Networkgenqr <url?> <name?>
: Generate a QR code from a URLupscale <file?> <scale-multiplier?>
: Scale up an image (uses no smoothing)genpass <pass-length?>
: Generate A Random Passwordgenhex <length?>
: Generate A Random Hex Stringgenb64 <length?>
: Generate A Random Base64 Stringlastcmd
: Copy Your Last Command To Your Clipboardcopy $(<command?>)
: Copy output of a command to clipboardwebtext <url?>
: Read-only websites in your terminalweather
: View the weather forecast for your location in the terminalmoon
: View the moon phaseleap-year
: Check when the next leap year ishelp
: View WYX-CLI Documentationexplain <command?>
: Explain a bash commandask-gpt
: Start a conversation with ChatGPTgoogle <query?>
: Google a query