behind-design / blucid-console by behind.design

Extend lucid console commands.
21
0
1
Package Data
Maintainer Username: behind.design
Maintainer Contact: info@behind.design (Bernat Jufré)
Package Create Date: 2016-11-20
Package Last Update: 2016-11-21
Language: PHP
License: MIT
Last Refreshed: 2024-11-11 15:23:48
Package Statistics
Total Downloads: 21
Monthly Downloads: 4
Daily Downloads: 1
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

BLucid • Console

Expanding Lucid console capabilities for Lucid Architecture.

Command Line Interface

The console ships with a command line interface called blucid that you can find in vendor/bin/blucid and use as

blucid make:model Video
blucid make:policy Post
blucid make:request UpdatePost

To be able to address the blucid cli directly you need to have ./vendor/bin as part of your $PATH. To do that, put this in your shell profile (~/.bash_profile, ~/.zshrc, ~/bashrc) export PATH="$PATH:./vendor/bin"

Available Commands

  • help Displays help for a command
  • list Lists commands
  • make
    • make:model Create a new resource Controller class in a service
    • make:policy Create a new Feature in a service
    • make:request Create a new Job in a domain
  • delete
    • delete:model Delete an existing Feature in a service
    • delete:policy Delete an existing Job in a domain
    • delete:request Delete an existing Service

Commands Usage

Make

  • make:model <model>
  • make:policy <policy>
  • make:request <request>

Delete

  • delete:model <model>
  • delete:policy <policy>
  • delete:request <request>