Latte v1.2, now with colors!
Latte, a package manager for StaSh commands!
Alright, so my last post was about v1.0. I thought it was completely ready for release, but it turns out there was some issues with the path system when installing and removing packages. That's completely fixed now. All the commands work, and there's even a brand new feature: it has colors now!
In What Scenario Would I Use This?
Okay, so say you've just made a really useful StaSh command that allows you to run a Ruby interpreter (bear with me), and you have no way to share it, or get it installed on other people's StaSh shell. The only feasible method is making a self-extracting Python script to install it (if you don't know what that is, it's the single-line Python code you used to install StaSh, if you have it) and nobody wants to do that over and over again to install small simple commands individually. Well, Latte is a utility to fix this issue. You can host repositories easily, create and share packages, and install them with one command.
So, as you can see, it's a fairly useful tool, and I'm hoping it's equally as useful for all the StaSh users out there. You could argue that, "There's no point to this! I could just make a pull request to the StaSh repository with my new command..." Which is very true. But good luck doing that for every new command, and every new update to those commands. With Latte you just need to type a single line into the StaSh shell, and it's installed.
It's also worth noting that if Latte has an issue when running, please restart Pythonista, and then reinstall Latte. It seems that either the
requestsmodule or Pythonista may be storing caches of sites that content has already been fetched from. Sorry!
@AtomBombed , just to let you know, if you type help in StaSh, Latte does not have a useage string associated with it.