<?php
{{#if namespace}}

namespace {{namespace}};
{{/if}}

use Illuminate\Console\Command;{{#if hasArguments}}
use Symfony\Component\Console\Input\InputArgument;{{/if}}{{#if hasOptions}}
use Symfony\Component\Console\Input\InputOption;{{/if}}

class {{className}}Command extends Command
{
    /**
     * {@inheritdoc}
     */
    protected $name = '{{commandName}}';

    /**
     * {@inheritdoc}
     */
    protected $description = '{{commandDescription}}';{{#if hasArguments}}

    /**
     * {@inheritdoc}
     */
    protected function getArguments()
    {
        /*
        return array(
            array(
                'example', // name
                InputArgument::OPTIONAL, // mode
                'Describe what this argument does', // description
                null, // default value
            ),
        );
        */
    }{{/if}}{{#if hasOptions}}

    /**
     * {@inheritdoc}
     */
    protected function getOptions()
    {
        /*
        return array(
            array(
                'example', // name
                'e', // shortcut
                InputOption::VALUE_NONE, // mode
                'Describe what this option does', // description
                null, // default value
            ),
        );
        */
    }{{/if}}

    /**
     * {@inheritdoc}
     */
    protected function fire()
    {
        // do something here
    }
}

<?php
{{#if namespace}}

namespace {{namespace}};
{{/if}}

use eecli\Command\Command;{{#if hasArguments}}
use Symfony\Component\Console\Input\InputArgument;{{/if}}{{#if hasOptions}}
use Symfony\Component\Console\Input\InputOption;{{/if}}

class {{className}}Command extends Command
{
    /**
     * {@inheritdoc}
     */
    protected $name = '{{commandName}}';

    /**
     * {@inheritdoc}
     */
    protected $description = '{{commandDescription}}';{{#if hasArguments}}

    /**
     * {@inheritdoc}
     */
    protected function getArguments()
    {
        /*
        return array(
            array(
                'example', // name
                InputArgument::OPTIONAL, // mode
                'Describe what this argument does', // description
                null, // default value
            ),
        );
        */
    }{{/if}}{{#if hasOptions}}

    /**
     * {@inheritdoc}
     */
    protected function getOptions()
    {
        /*
        return array(
            array(
                'example', // name
                'e', // shortcut
                InputOption::VALUE_NONE, // mode
                'Describe what this option does', // description
                null, // default value
            ),
        );
        */
    }{{/if}}

    /**
     * {@inheritdoc}
     */
    protected function fire()
    {
        // do something here
    }
}

Use eecli\Command\Command as base command class in command generator
Use eecli\Command\Command as base command class in command generator
