Coder Social home page Coder Social logo

automation-script's Introduction

Run - automation script in Bash

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

Fast start

  1. Download run file
  2. Put alias run='./run' to your .zshrc
  3. Execute source <(./run zsh_setup) for auto-completion.

Example

╰─❯ ./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

Credits

I'm not author of this script. I only made some changes for ZSH.

automation-script's People

Contributors

thevops avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.