polyfony-inc/console

CLI helper to use Polyfony 3.x +

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

This package is auto-updated.

Last update: 2024-05-05 16:23:03 UTC


README

  • Generate publics symlinks to access assets stored in the bundles

Demo video

  • Synchronize your Polyfony project to/form a remote production server

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