kitzberger/cli-toolbox
Composer 安装命令:
composer require kitzberger/cli-toolbox
包简介
TYPO3 CLI toolbox: run copy/move/delete commands of DataHandler via CLI'
关键字:
README 文档
README
Find records
Find all records (of a given table, type and subtype) within the pagetree of a given root uid:
bin/typo3 toolbox:find [table] [type] [subtype] # Find all powermail plugins (old) globally bin/typo3 toolbox:find tt_content list 'powermail%' --root=0 # Find all powermail plugins (new) starting in node 123 bin/typo3 toolbox:find tt_content 'powermail%' --root=123 # Global search for powermail fields of type 'captcha' bin/typo3 toolbox:find tx_powermail_domain_model_field captcha
Other parameters:
--root, root node (recursively resolved!)`--columns, comma separated list of field names, default: uid,pid,,<title>--enable-columns/-e, append enable fields to columns--url, to render URLs as separate columns--extract, to use ExtractValue to extract fields from a XML fields (such aspi\_flexform)--online-only, to respect record (and parent page) enable fields--group-by, comma separated list of field names--order-by, comma separated list of field names--count, perform a COUNT instead of a SELECT--limit
Pagetree
Determine uids of all children in the pagetree of a given root uid:
bin/typo3 toolbox:tree 123 [--table=pages] [--depth=10] [--separator=,] [--languages=0]
A site identifier can be used instead of the root uid:
bin/typo3 toolbox:tree my-site-identifier
Categorytree
Determine uids of all children in the categorytree of a given root uid:
bin/typo3 toolbox:tree 321 --table=sys_category
Recursive delete
(!) Use with caution and backup!
bin/typo3 toolbox:delete --source=123 [--table=pages] [--memory-limit=512M]
Copy/move records
See TYPO3 datahandler for details on behaviour of positive/negative --target parameter
# 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
Move FAL folders across storages
To move a folder from one storage (fileadmin) to another you can use this command to
- Move all files within the given "source" to the given "target" folder
- Recalculate the file hashes
bin/typo3 toolbox:move-fal-folder 1:/folder/subfolder/ 2:/different-folder/subfolder
kitzberger/cli-toolbox 适用场景与选型建议
kitzberger/cli-toolbox 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.5k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 09 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「TYPO3 CMS」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 kitzberger/cli-toolbox 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kitzberger/cli-toolbox 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 kitzberger/cli-toolbox 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
An interactive tour through the TYPO3 backend.
Integrate with Snipcart.
统计信息
- 总下载量: 2.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 10
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2018-09-28