Quite good replecement for Makefile (example here)
Look at example file run
in this repository.
Here is YouTube video with more information: https://www.youtube.com/watch?v=SdmYd5hJISM
- Download
run
file - Put
alias run='./run'
to your.zshrc
- Execute
source <(./run zsh_setup)
for auto-completion.
╰─❯ ./run
./run <task> [args]
Tasks:
cmd Run any command you want in the web container
flask Run any Flask commands
psql Connect to PostgreSQL with psql
redis-cli Connect to Redis with redis-cli
pip3:install Install pip3 dependencies and write lock file
clean Remove cache and other machine generates files
help Help menu
zsh_setup For ZSH auto-completion: source <(./run zsh_setup)
Extended help:
Each task has comments for general usage
Task completed in 0m0.008s
I'm not author of this script. I only made some changes for ZSH.