r/programmingtools • u/mitchlol • Feb 15 '19
A tool I've built for managing useful shell commands
Hi all,
This started off as a side project to help myself manage useful shell commands that I found on the web.
I'm primarily a developer but I often have to do work on servers. Because of this, I wanted a tool that I could copy commands easily and change paths and parameter options on the fly.
The project is called Snipline ( https://snipline.io/ ). I'm still adding features to it regularly, but I've been using it daily now and I'm really pleased with how it works currently.
I'd love it if you gave it a try and any feedback is welcome!
View all comments
Show parent comment
1
u/mitchlol Feb 17 '19
Thanks for checking it out! I appreciate the feedback.
I still use aliases and shell-scripts in some situations, but there’s a few situations I prefer to use Snipline.
As a web developer, I’m often working with different environments, servers, frameworks, etc. It’s convenient to be able to store commands for these in one place, copy them to clipboard and paste them into SSH sessions. Having shell-scripts for all of these would become difficult to manage for me personally.
With multi-device syncing, if you’re out of the office or not close to your work machine you can either install the app or use the web interface on your personal computer/tablet/mobile to access commands and SSH into servers to run them.
My personal favourite feature is variables. Being able to copy a command but replace segments on each use is handy for a few of reasons. 1) If you’ve forgotten what some parameters/flags do, or parameter order, you can use variable names to explain them quickly. 2) You can set common default values to save time. 3) You can set multiple-choice options for if there’s only ever a few values. E.g. a curl request you can select between GET,POST,PUT,DELETE, etc.
Lastly, this isn’t a benefit over shell-scripts, but I’ll just say as a Vim user, I’ve tried to keep keybinds in mind so that switching between a terminal and the app is as convenient as possible.
I hadn’t really thought about the unlimited* issue, but I definitely see your point. It’s really just there to guard against abuse of the system. I’ll have a think about how to display that better, thanks!