A micro meta package manager for the masses
|
7 jaren geleden | |
---|---|---|
gimmes | 7 jaren geleden | |
LICENSE | 10 jaren geleden | |
README.md | 10 jaren geleden | |
gimme | 7 jaren geleden |
A meta micro manager for the masses.
The gimme
command runs micro scripts that get small blocks of work done. These usually build on other tools and can be chained together. Ideally, it can do anything that can be automated in shell.
It's like glue between tiny little tasks.
It deals with the shell scripts so that the engineers don't have to.
yeah...
curl -fsSL "https://github.com/KylePDavis/gimme/raw/master/gimme" | bash -
(you do read these scripts, right?)
gimme goodies
# if it exists, run:
"$GIMME_DIR/gimmes/goodies"
# otherwise, run the nearest _default (as an example, this wraps your package manager):
"$GIMME_DIR/gimmes/_default"
You can get tab completion in bash by doing something like this (put it in your .profile
to play for keeps):
source "$GIMME_DIR/gimme"
gimme that other thing
at the tophas
and gimme_pkg
get inherited from the main gimme
script if you want$GIMME_DIR/gimmes/
directorychmod 755 YOUR_GIMME_SCRIPT
The idea here is that the what you use this for is really up to you.
Here are some ideas for overall uses to get you started:
dotfiles
(that's one way that I'm using it)config
"gimme" script that runs gimme $HOST/install
and you're on your way to being able to run gimme config
)gimme dev
, gimme qa
, gimme test_data
, gimme auth/new_user
, etc.)If that wasn't enough here are some ideas for the "gimmes":
Maybe nothing. I thought it was a neat idea and wanted to try it out.