LesFabricants / realtimate

An Atlas Realm Build Environment
GNU General Public License v3.0
6 stars 1 forks source link

Assist the generation (new endpoint, ...) through CLI #28

Open lotfi-a opened 7 months ago

lotfi-a commented 7 months ago

inspired by the symfony maker bundle it would be really interesting to have a command suite that would allow us to be more efficient and quick in setting up the project.

example:

Commands Params
make:entity --name= : Function name
make:crud --entity= : Entity name
make:function --name= : Function name
make:trigger --type= : Trigger type
--name= : Trigger name
--function= : Function name to call
--collection= : Collection name

source: Symfony maker bundle

BotLesFabricants commented 7 months ago

Before adding the command in the CLI, I'd like to have a proper CLI scheming that's coherent with the rest of the existing cli commands.

At the moment we have:

I think it would be great if we use the AngularCli Approach to make command the following way :

in the long run we can probably merge the new and generate commands