kitzberger/cli-toolbox

TYPO3 CLI 工具箱

安装: 586

依赖: 0

建议: 0

安全: 0

星星: 0

关注者: 3

分支: 0

类型:typo3-cms-extension

3.0.2 2024-08-20 09:45 UTC

This package is auto-updated.

Last update: 2024-09-20 10:02:15 UTC


README

页树

确定给定根uid的页树中所有子uid

bin/typo3 toolbox:tree 123 [--table=pages] [--depth=10] [--separator=,] [--languages=0]

可以使用站点标识符代替根uid

bin/typo3 toolbox:tree my-site-identifier

分类树

确定给定根uid的分类树中所有子uid

bin/typo3 toolbox:tree 321 --table=sys_category

递归删除

(!) 请谨慎使用并备份!

bin/typo3 toolbox:delete --pid=123 [--memory-limit=512M]

复制/移动记录

有关正/负 --target 参数行为的详细信息,请参阅 TYPO3 数据处理器

# Copy tt_content:123 to page:234
bin/typo3 toolbox:copy --table=tt_content --source=123 --target=234 [--be-user=1] [--memory-limit=512M]

# Copy tt_content:123 right behind tt_content:-234
bin/typo3 toolbox:copy --table=tt_content --source=123 --target=-234

# Move pages:123 to page:234
bin/typo3 toolbox:move --source=123 --target=234