wp-cli β€” A command line interface for WordPress

wp-cli is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs, create posts and much more. Once installed, you can run commands such as: wp plugin install hello-dolly which will output: Installing Hello Dolly (1.5) Downloading install package from http://downloads.WordPress.org/plugin/hello-dolly.1.5.zip … Unpacking the package … Installing the […]

Autocomplete git branch name

Turns out it’s possible to enable autocompletion of git branch names when working on the command line. The script can be automatically installed on OS X using these commands: $ curl -G https://raw.github.com/git/git/master/contrib/completion/git-completion.bash > ~/.git-completion.sh $ echo ‘source ~/.git-completion.sh’ >> ~/.bash_profile Don’t forget to re-open any already open Terminal windows. (via @decthomas) UPDATE: I’ve been […]

Composer – Dependency Manager for PHP

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you. Think npm install but then for PHP { “require”: { “monolog/monolog”: “1.2.*” } } $ composer install Plays nice with packages that support PSR-0 autoloading. […]

Cordova client tool

The command line tool to build, deploy and manage Cordova-based applications. Once installed — via npm — you get to do stuff like this: cordova create ~/KewlApp cd ~/KewlApp cordova platform add ios cordova platform add android cordova plugin add http://example.org/Kewlio-1.2.3.tar.gz cordova build Great to see how the Cordova Platform (formerly known as PhoneGap — […]