pygmystack / pygmy-legacy

Use pygmystack/pygmy instead
https://github.com/pygmystack/pygmy
MIT License
25 stars 16 forks source link

Refactoring of start/status/remove processes in bin/pygmy #22

Closed fubarhouse closed 5 years ago

fubarhouse commented 6 years ago

I've been doing some work with pygmy lately, understanding how some things have been designed and putting my own services in place.

I've noticed some repetition which would could easily be remediated, so instead of copy and pasting for new services, such as portainer or traefik as I'm working on independently I thought you might have some interested in this.

It's basic, but it does improve the elegance of the tool - at least in the places it can be used.