Skip to content

Aloe CLI: d commands

d technically stands for delete. Aloe CLI d commands technically delete some sort of file or class.

d:command

This command is used to delete and unregister a custom command

Description:
  Delete a console command

Usage:
  d:command <file>

Arguments:
  file                  The name of the console file

d:controller

Description:
  Delete a controller

Usage:
  d:controller <controller>

Arguments:
  controller            controller name

d:factory

Description:
  Delete a model factory

Usage:
  d:factory <factory>

Arguments:
  factory               factory name

d:migration

Description:
  Delete a migration

Usage:
  d:migration <file>

Arguments:
  file                  File to delete

d:model

Description:
  Delete a model

Usage:
  d:model <model>

Arguments:
  model                 model name

d:seed

Description:
  Delete a model seeder

Usage:
  d:seed <seed>

Arguments:
  seed                  seeder name

Next Steps

Aloe CLI: d commands has loaded