Kriuchko
2/26/2020 - 3:47 PM

Commands


\!h Docker commands
https://docker.nailsapp.co.uk/how-to-use

\!h Nails cli

Available commands:
  help                            Displays help for a command
  install                         Configures or reconfigures a Nails site
  list                            Lists commands
  migrate                         Alias to db:migrate
 admin
  admin:dataexport:list           List available data reports
  admin:dataexport:process        Processes pending data exports
  admin:dataexport:run            Generates a new report
 app
  app:activecampaign:push         Pushes local data to Active Campaign
  app:activecampaign:sync         Syncs data reconciliation items with ActiveCampaign
  app:authnet:sync:subscriptions  Syncs the local DB with Auth.NET
  app:authnet:sync:transactions   Creates an invoice for any transactions found on Auth.NET which do not exist locally.
  app:cache:warm                  Warms the site caches
  app:cart:prune                  Prunes old non-converted carts
  app:courses:reminders           Sends course session reminders
  app:dev:setup                   configures the DEV environment settings
  app:events:reminders            Sends event reminders
  app:import                      Imports data from CSV
  app:import:supporters           Imports all users from the WordPress database
  app:onboarding                  Generates the onboarding CSV
  app:refresh-search-data         Refresh model `search_data` strings.
  app:subscriptions:expireunpaid  Expires subscriptions which have unpaid PAID_PROCESSING invoices older than 3 days
  app:subscriptions:logexpire     Logs subscriptions which expire today
  app:subscriptions:reminders     Sends subscription reminders
  app:subscriptions:warnings      Sends subscription warnings, e.g. expiring cards
  app:webinars:reminders          Sends webinar session reminders
 cdn
  cdn:migrate                     Migrates CDN between drivers
  cdn:trash:empty                 Deletes items which have been in the trash for 180 days
 cron
  cron:list                       Lists discovered cron tasks
  cron:run                        Executes due cron tasks
 db
  db:migrate                      Runs database migration across all enabled modules
  db:rebuild                      Drops every table in the database and runs migrations
  db:seed                         Seed the database
 email
  email:archive:clean             Cleans the archive according to data retention rules
  email:test                      Sends a test email
 events
  events:list                     Lists the events which are available to subscribe to
  events:list:listeners           Lists all autoloaded subscriptions
 install
  install:components              Executes any post install commands for components
 logs
  logs:clean                      Deletes log files older than 180 days
 maintenance
  maintenance:off                 Turns maintenance mode off
  maintenance:on                  Turns maintenance mode on
 make
  make:admin:dataexport           Creates a new Admin DataExport Source
  make:cms:template               Creates a new CMS template
  make:cms:widget                 Creates a new CMS widget
  make:console                    Creates a new App console command
  make:controller                 Creates a new App controller
  make:controller:admin           Creates a new Admin controller
  make:controller:api             Creates a new API controller
  make:controller:api:crud        Creates a new CRUD API controller
  make:cron:task                  Creates a new app cron task
  make:db:migration               Creates a new Database Migration
  make:db:seeder                  Creates a new Database seeder
  make:email                      Creates a new email
  make:event:listener             Creates a new Event Listener
  make:factory                    Creates a new App factory
  make:model                      Creates a new App model
  make:service                    Creates a new App service
  make:user                       Creates a new super user
 routes
  routes:rewrite                  Rewrites the App's routes file
 user
  user:accesstoken:generate       Generate an access token for a user
  user:password:reset             Resets a user's password