69 days ago · Tech · hide · Fediverse post

I have long hated managing my custom scripts. I plop them in a bin/ dir, then I forget what scripts I have, what arguments they take, and have to sometimes ls ~/bin/ or even nvim ~/bin/script to see what they do. So I made a tool called clh (for 'Command Line Helper') that organizes all the scripts for me, plus has some handy features. To execute a custom script, you do: clh group/script_name, but you can clh bin a script and then call it directly from anywhere. Install from my Gitlab. For an overview, here is the built-in help menu: clh group/script [args] ... group "self" may be omitted self - alias - Assign an alias for a script/subscript. bin - Create symlink in `bin/` dir pointing to target script. edit - Create/Edit a script globalize - Convert a group into a global callable script help - Show help information move - Move a clh script from source to dest rm - Delete a script (CANNOT BE RECOVERED) source - Convert a script to be loaded via `source` instead of being executed To…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town