[发布]

v6.0.5及以上支持

[发布应用]

  1. php think publish:app <应用名> <应用模板名>

如发布portal应用,并指定和它一起发布的模板名simpleboot3,在命令行执行:

  1. php think publish:app portal simpleboot3

输出:

  1. File generated
  2. File path: /wwwroot/thinkcmf6/data/publish/app_portal_20220513_223954.zip
  3. You can publish it to https://www.thinkcmf.com now!

[发布插件]

  1. php think publish:plugin <插件名,大驼峰格式的>

如发布demo插件,在命令行执行:

  1. php think publish:plugin Demo

输出:

  1. File generated
  2. File path: /wwwroot/thinkcmf6/data/publish/plugin_demo_20220513_224158.zip
  3. You can publish it to https://www.thinkcmf.com now!

[发布模板]

  1. php think publish:theme <模板目录名>

如发布simpleboot3模板,在命令行执行:

  1. php think publish:theme simpleboot3

输出:

  1. File generated
  2. File path: /wwwroot/thinkcmf6/data/publish/theme_simpleboot3_20220513_224841.zip
  3. You can publish it to https://www.thinkcmf.com now!