0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-12-06 11:22:41 +01:00

improved occ command names

This commit is contained in:
Jonathan Treffler 2024-11-05 14:05:04 +01:00
parent 4dad10d23f
commit dc10742476
14 changed files with 22 additions and 22 deletions

View file

@ -9,11 +9,11 @@ use Symfony\Component\Console\Output\OutputInterface;
use OCA\OrganizationFolders\Command\BaseCommand;
class RemoveOrganizationFolder extends BaseCommand {
class DeleteOrganizationFolder extends BaseCommand {
protected function configure(): void {
$this
->setName('organization-folders:remove')
->setDescription('Remove a new organization folder')
->setName('organization-folders:delete')
->setDescription('Delete an organization folder')
->addArgument('id', InputArgument::REQUIRED, 'Id of the organization folder to remove');
}

View file

@ -14,7 +14,7 @@ class UpdateOrganizationFolder extends BaseCommand {
protected function configure(): void {
$this
->setName('organization-folders:update')
->setDescription('Update a organization folder')
->setDescription('Update an organization folder')
->addArgument('id', InputArgument::REQUIRED, 'Id of the organization folder to update')
->addOption('name', null, InputOption::VALUE_OPTIONAL, 'New name of the organization folder')
->addOption('quota', null, InputOption::VALUE_OPTIONAL, 'New storage quota of the organization folder')