xervice/xervicecli

1.0.0 2018-08-23 09:34 UTC

This package is auto-updated.

Last update: 2025-03-01 00:23:45 UTC


README

XerviceCli can be used to run helper functions.

Install

# Latest version
composer global require xervice/xervicecli dev-master

Configuration

You have to add the ProjectNamespace "XerviceCli":

use Xervice\Core\CoreConfig;

$config[CoreConfig::PROJECT_NAMESPACES] = [
    'XerviceCli'
];

Usage

# Create a new project structure
~/.composer/vendor/bin/xervice xervice:create:project <projectname> <namespace>

# Create a new service (run command in src directory)
~/.composer/vendor/bin/xervice xervice:create:project <servicename> <namespace>