Command Line tool for Nails
This is the command line tool for Nails. It is an installable executeable which makes it easy to create new Nails apps, install (or reinstall) them, or to migrate databases.
- Tap Nails using
brew tap nailsapp/nailsapp
- Install using
brew install nails
- Update as normal using
brew update && brew upgrade
- Clone this repository
- Create a symlink of the executable
- Place the symlink somewhere in your PATH
- To update, simply
git pull origin master
You have a new binary (well, technically a shell script) called
nails. You can pass one of the following
arguments to the tool:
nails new folderNamewill clone the skeleton repository into
folderName, install all the dependancies, run the Nails Installer and then prepare a new repository for the app.
nails upgradewill update all dependencies to their latest version then run the Nails Migration tool.
nails testwill run PHPUnit tests for the application.
nails devShows available dev tools.
nails dev pullPull down all public Nails repositories from GitHub
The tool also wraps the bundled console application within Nails applications and makes them available as
additional commands. to view all available commands for your app simply call
nails with no arguments in
the app's root directory.
- Composer is installed
- Bower is installed
- Git is installed
- Git flow extension is installed