motionstudio / enrolzsh

We've got a workflow problem. And we're fixing it - here’s Enrol (step 1).
2 stars 1 forks source link
command-line deployement script zsh

EnrolZSH

EnrolZSH is a dead simple zsh script, which provides you with simple deployment commands.

With the first release we introduce autoloading for specific projects. The commands are stored inside the project folder itself (enrol/deploy.zsh). This allows you do store all commands inside version control and makes sure all your coworkers are running the same script. In the next version we will improve this and ship some predefined commands. We'll also allow configuration on project basis. This will remove a lot of complexitity for the developer.

Requirements:

Installation:

Important notes:

Operating system

Enrol supports Linux and MacOS. Windows works mostly iniside it's Unix subsystem, but is not tested and will fall short on certain commands like enrol.finder.

Custom enrol script:

When providing a custom enrol script inside the enrol-directory make sure to prefix variables when using so. Enrol will load your script inside the global context and this has potential for dramatic issues.

Available commands:

Make use of the great gloabing feature inside ZSH by making use of . Type enr and , then again and you will see all your possibilities.

Some shorthands for vagrant inside the defined VM folder:

Helper functions:

Config functions: