mirror of
https://github.com/chenasraf/nextcloud-autocurrency.git
synced 2026-05-17 17:28:06 +00:00
- Add GitHub Actions workflows for PHPUnit testing (MySQL and PostgreSQL) - Add issue templates (bug reports, feature requests) for better issue management - Enhance Makefile with Docker test support and improved build targets - Update lint-staged configuration with better PHP and JSON handling - Add comprehensive PHPUnit test infrastructure with Docker support - Update dependencies and add lock files for composer and vendor-bin tools - Improve code scaffolding templates (command, component, view generators) - Update build configuration (Vite, package.json, pnpm-lock.yaml) - Refactor Application.php settings initialization - Update AdminSettings and UserSettings implementations - Rename test file for consistency (ApiTest → ApiControllerTest) - Update .gitignore (track composer.lock, ignore stats.html)
40 lines
823 B
PHP
40 lines
823 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
// SPDX-FileCopyrightText: Chen Asraf <contact@casraf.dev>
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
namespace OCA\AutoCurrency\Command;
|
|
|
|
use Symfony\Component\Console\Command\Command;
|
|
use Symfony\Component\Console\Input\InputInterface;
|
|
use Symfony\Component\Console\Output\OutputInterface;
|
|
|
|
class {{pascalCase name}} extends Command {
|
|
/**
|
|
* {{pascalCase name}} constructor.
|
|
*/
|
|
public function __construct() {
|
|
parent::__construct();
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
protected function configure(): void {
|
|
parent::configure();
|
|
$this->setName('mynextcloudapp:{{kebabCase name}}');
|
|
}
|
|
|
|
/**
|
|
* @param InputInterface $input
|
|
* @param OutputInterface $output
|
|
*
|
|
* @throws Exception
|
|
*/
|
|
protected function execute(InputInterface $input, OutputInterface $output): int {
|
|
return 0;
|
|
}
|
|
}
|