Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
- Base: wintercms/winter branch 1.2 (full framework) - Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS - Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication - Partials: hero (offline-first), features, modes (offline/nube toggle), screenshots, pricing (3 planes), comparison, FAQ, CTA - Plugin VivesPOS.Site with ContactForm - Dockerfile: PHP 8.2 Apache, port 80, healthcheck - Added winter/wn-pages, blog, sitemap, seo plugins - Active theme set to vivespos
43 lines
1.0 KiB
Plaintext
43 lines
1.0 KiB
Plaintext
<?php
|
|
|
|
namespace {{ plugin_namespace }}\Console;
|
|
|
|
use Winter\Storm\Console\Command;
|
|
|
|
class {{studly_name}} extends Command
|
|
{
|
|
/**
|
|
* @var string The console command name.
|
|
*/
|
|
protected static $defaultName = '{{ lower_command }}';
|
|
|
|
/**
|
|
* @var string The name and signature of this command.
|
|
*/
|
|
protected $signature = '{{ lower_command }}
|
|
{myCustomArgument : Example argument. <info>Additional information</info>}
|
|
{--f|force : Force the operation to run and ignore production warnings and confirmation questions.}';
|
|
|
|
/**
|
|
* @var string The console command description.
|
|
*/
|
|
protected $description = '{{ description }}';
|
|
|
|
/**
|
|
* Execute the console command.
|
|
* @return void
|
|
*/
|
|
public function handle()
|
|
{
|
|
$this->output->writeln('Hello world!');
|
|
}
|
|
|
|
/**
|
|
* Provide autocomplete suggestions for the "myCustomArgument" argument
|
|
*/
|
|
// public function suggestMyCustomArgumentValues(): array
|
|
// {
|
|
// return ['value', 'another'];
|
|
// }
|
|
}
|