Skip to content

Commit

Permalink
Merge pull request #7142 from yguedidi/make-database-dependent-comman…
Browse files Browse the repository at this point in the history
…ds-lazy

Make database dependent commands lazy
  • Loading branch information
yguedidi committed Dec 27, 2023
2 parents d6c4014 + 9927a06 commit 3a7e597
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions app/config/services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,23 @@ services:
arguments:
$baseFolder: "%kernel.project_dir%/web/assets/images"

Wallabag\CoreBundle\Command\CleanDownloadedImagesCommand:
tags:
- { name: console.command, command: 'wallabag:clean-downloaded-images' }

Wallabag\CoreBundle\Command\CleanDuplicatesCommand:
tags:
- { name: console.command, command: 'wallabag:clean-duplicates' }

Wallabag\CoreBundle\Command\ExportCommand:
arguments:
$projectDir: '%kernel.project_dir%'
tags:
- { name: console.command, command: 'wallabag:export' }

Wallabag\CoreBundle\Command\GenerateUrlHashesCommand:
tags:
- { name: console.command, command: 'wallabag:generate-hashed-urls' }

Wallabag\CoreBundle\Command\InstallCommand:
arguments:
Expand All @@ -279,6 +293,26 @@ services:
$defaultSettings: '%wallabag_core.default_internal_settings%'
$defaultIgnoreOriginInstanceRules: '%wallabag_core.default_ignore_origin_instance_rules%'

Wallabag\CoreBundle\Command\ListUserCommand:
tags:
- { name: console.command, command: 'wallabag:user:list' }

Wallabag\CoreBundle\Command\ReloadEntryCommand:
tags:
- { name: console.command, command: 'wallabag:entry:reload' }

Wallabag\CoreBundle\Command\ShowUserCommand:
tags:
- { name: console.command, command: 'wallabag:user:show' }

Wallabag\CoreBundle\Command\TagAllCommand:
tags:
- { name: console.command, command: 'wallabag:tag:all' }

Wallabag\ImportBundle\Command\ImportCommand:
tags:
- { name: console.command, command: 'wallabag:import' }

wallabag_core.entry.download_images.client:
alias: 'httplug.client.wallabag_core.entry.download_images'

Expand Down

0 comments on commit 3a7e597

Please sign in to comment.