earlgrey-cli

    1.0.3 • Public • Published

    earlgrey-cli

    Command line interface for Earlgrey Framework

    Instalation

    $ npm install earlgrey-cli -g

    Usage

    Init

    $ earlgrey-cli init [projectname] --origin [url_git_repository]

    Examples

    $ earlgrey-cli init backend
    $ earlgrey-cli init backend --origin git@github.com:acalvoa/earlgrey-seed.git

    Generators

    Controller

    $ earlgrey-cli generate controller [controller_name]

    Helper

    $ earlgrey-cli generate helper [helper_name]

    Type

    $ earlgrey-cli generate type [type_name]

    Policy

    $ earlgrey-cli generate policy [policy_name]

    Model

    $ earlgrey-cli generate model [model_name] -t [tablename]

    Install

    npm i earlgrey-cli

    DownloadsWeekly Downloads

    5

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    14.6 kB

    Total Files

    17

    Last publish

    Collaborators

    • avatar