wp-launchpad/launchpad-take-off

Initialisation library for the Launchpad framework

v1.0.8 2024-07-20 23:36 UTC

README

Take Off is the library containing the CLI command used to initialize a Launchpad project.

To install the library first launch the following command: composer require wp-launchpad/take-off --dev

Then at the root from your project you can create a builder file with the following content:

#!/usr/bin/php
<?php
use LaunchpadCLI\AppBuilder;

require_once __DIR__ . '/vendor/autoload.php';

AppBuilder::init(__DIR__ . '/../', [
        \LaunchpadTakeOff\ServiceProvider::class,
]);

Usage

To initialize the project run the following command: initialize.

On the command the following options are available: