polyfony-inc/console

用于使用 Polyfony 3.x + 的 CLI 辅助工具

dev-master 2021-08-05 10:23 UTC

This package is auto-updated.

Last update: 2024-09-05 17:04:26 UTC


README

  • 生成公共符号链接以访问存储在捆绑包中的资源

Demo video

  • 同步您的 Polyfony 项目到/与远程生产服务器

Demo video

projet-directory$ Private/Binaries/Console 
   _           _           
  |_) _  |   _|_ _  ._     
  |  (_) | \/ | (_) | | \/ 
           /            /  

Usage
  command [arguments]

Available commands
  help                  Display this help message
  sync                  Synchronizes your project from or to a remote server via SSH and cleans its remote cache
  backup-database       Creates a compressed copy of the local database (you must specify the current environment)
  clean-cache           Empties the Private/Storage/Cache folder and it subdirectories
  clean-remote-cache    Empties the Private/Storage/Cache folder and it subdirectories on the remote server
  generate-symlinks     Generates symlinks from Private/Bundles/{$1}/Assets/{$2} to Public/Assets/{$2}/{$1}
  generate-model        Generates a model file for a given table name
  generate-controller   Generates a controller for a given table name
  generate-views        Generates all views for a given table name