承接 kitzberger/cli-toolbox 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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 as pi\_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

统计信息

  • 总下载量: 2.5k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2018-09-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固