Skip to content

Provides some useful shell commands meant to optimize your daily development workflow

Notifications You must be signed in to change notification settings

CSPS-EFPC-IT/zsh-devtools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zsh devtools

This project aims at providing a small set of shell commands to help optimizing your daily development workflow when working on PHP projects such as Laravel and CraftCMS.

The package contains some useful commands such as project:create which takes you through the process of installing a brand new project using only one command. There is also a configuration file included that allows you to customize these scripts to your own preferences and needs.

Note: These scripts are meant to be used on a Linux OS with zsh already installed.

Dependencies

The scripts require these technologies to be installed on your local development machine:

Installation

  1. Clone this repository somewhere on your machine.
  2. Rename the config.example.zsh file to config.zsh and edit the configurations for your dev environment.
  3. Edit your ~/.zshrc file to include the bootstrap script (i.e. source /path/to/zsh-devtools/bootstrap.zsh)
  4. Run the command mysql:create_login to create a local MySQL authentication file.
  5. Optionally run the command mysql:test_login to validate that the previous operation worked.

Usage

Here is a list of some available commands. To see the full list, you should have a look at all the functions located under the includes/ folder. Everything should be well documented.

Database

  • mysql:create_login
  • mysql:test_login
  • db:create
  • db:drop
  • db:dump
  • db:copy
  • db:list

Projects

  • project:create
  • project:delete

About

Provides some useful shell commands meant to optimize your daily development workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages