Skip to content

The Drupal Console is a command line interface tool, to generate boilerplate code and interact with a Drupal 8 installation.

Notifications You must be signed in to change notification settings

alex-arriaga/DrupalConsole

 
 

Repository files navigation

Table of Contents generated with DocToc

Drupal Console

Gitter Build Status Latest Stable Version Latest Unstable Version SensioLabsInsight

The Drupal Console is a suite of tools that you run on a command line interface (CLI) to generate boilerplate code and interact with a Drupal 8 installation.

Change Log

All notable changes to this project will be documented in the releases page

Supported Drupal version

The Drupal 8 supported version is Drupal 8 RC-2.

Drupal Console documentation

You can read or download the Drupal Console documentation at bit.ly/console-book.

Drupal Console support

You can ask for support at Drupal Console gitter chat room http://bit.ly/console-support.

Installing Drupal Console

# Run this in your terminal to get the latest Console version:
curl -LSs http://drupalconsole.com/installer | php

# Or if you don't have curl:
php -r "readfile('http://drupalconsole.com/installer');" | php

# You can place this file anywhere you wish.
# If you put it in your PATH, you can access it globally.
# For example: move console.phar and rename it, 'drupal':
mv console.phar /usr/local/bin/drupal

# Show all available commands.
drupal list

# Copy configuration files.
drupal init

# Generate a module.
drupal generate:module

Using Drupal Console

image

Enabling Autocomplete

# You can enable autocomplete by executing
drupal init

# Bash: Bash support depends on the http://bash-completion.alioth.debian.org/
# project which can be installed with your package manager of choice. Then add 
# this line to your shell configuration file.
source "$HOME/.console/console.rc" 2>/dev/null

# Zsh: Add this line to your shell configuration file.
source "$HOME/.console/console.rc" 2>/dev/null

# Fish: Create a symbolic link
ln -s ~/.console/drupal.fish ~/.config/fish/completions/drupal.fish

Supporting organizations

FFW
Indava
Anexus

About

The Drupal Console is a command line interface tool, to generate boilerplate code and interact with a Drupal 8 installation.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 87.5%
  • HTML 11.5%
  • Other 1.0%