r/programmingtools • • 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!

9 Upvotes

10 comments sorted by

View all comments

1

u/schorsch3000 Feb 16 '19

What's the benefit of this over simple shell-scripts?

Also i really cringe un unlimited*

even more if * means fair use policy and the terms of use are linked but not the actual paragraph, but the whole document, which does not contain the word fair or unlimited.

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!

1

u/schorsch3000 Feb 17 '19

I'm sure YOUR unlimited* is the right one (not kidding!), but we are all spoiled by unlimited data cap* (1GB) Just find the right wording for it, or even better, set a number that is high enough, but will not hurt you.

I see why anyone would use this, now that you describe you usecase. I'm fine with shellscripts and (my own) snippet system.

Thats maybe while im only "computering" at 2 Devices, my work and my home PC. They syncronize some folders including shellscripts and snippets.