CLI in Core Initiative

Replace Drush with the console application provided out-of-the-box in Drupal core

Drush and Drupal Console have served the Drupal community for decades. There have been several past efforts to bring the most-used commands into Drupal core. The CLI in Core initiative is formed for the goal of formalizing these efforts into a working group to complete the issues to get this done.

Who are we?

We are people that love using Drush and Symfony Console and want to bring the most commonly-used commands into Drupal core and allow contributed modules. to provide commands.

Drush commands

Copied from issue #3060930 here is the list of available drush commands to control Feeds:

Create fields programmatically

Learn how to install, use and extend the "Create Field Programmatically" module

This module allows you to quickly create fields from a list defined in custom configuration files.

It is particularly helpful in one of these situations:

  • 💡 Beginning of a Drupal project when planning content structure
  • 🤞 Many fields are the same across your content types
  • 🎨 Decoupled architecture where front-end development takes place first
    (allows potentially non-Drupal developers to work with real content and markup)
  • 🥱 If you are not in the mood of using the admin UI to create fields

Migrating Data From Core Date Fields

As of version 3.2, Smart Date includes a smart_date:migrate drush script to facilitate the process of moving date from core date fields into Smart Date fields.

The structure looks like:
drush smart_date:migrate workshop field_when field_core_daterange

Drush Commands

Export Drupal Content to a Directory.

drush content-sync:export

Aliases
content-sync:export has 2 aliases:

drush content-sync-export
drush cse

Options
content-sync:export accepts the following options:

--entity-types
A list of entity type names and bundles separated by commas.
(i.e. user, node.article, node.page)

Subscribe with RSS Subscribe to RSS - Drush