Skip to content

Extract robo commands into a custom package #984

@mariano-dagostino

Description

@mariano-dagostino

I've been playing with the idea of extracting the robo commands into a custom package. The task is quite simple at first glance but it requires some custom packages name decisions first.

I think we should go with an approach like this https://robo.li/extending.html#creating-a-robo-extension

The todo I see here is:

  1. decide if the current state of the code we have is good enough to consider it as stable to be extracted.
  2. decide a name for this new package. Gizra/robo-drupal-starter perhaps?
  3. Convert each different trait into a Task.
  4. Provide the composer.json structure to make those commands auto discoverable.
  5. Use this new tasks in the main RoboFile.php

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions