- Notifications
You must be signed in to change notification settings - Fork1
LPIX-11/SamaneCLI
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the CLI specialy made for the Senegalese Made PHP Framework Samane. It's purpose isto be the assistant of the developer and help him go faster when using the Framework.The CLI is written innodejs and is up to Modern Software Development Standards.But, we're still improving it, so if you just feel like it, we love pull requests ^_^.
. - commands - node_modules - about.txt - package-lock.json - package.json - README.md - sm-cli.js ./commands - framework - version.js - version.txt ./commands/framework - classes - generate - start.js./commands/framework/classes - Generator.js ./commands/framework/generate - generate.js
+ Command to create a new project sm start - project name - database type - database instance - database name - database host - database port * database connection type sm start --blank -> this will give you the skeleton of the framework - project name sm start --minimal -> this will give you a minimal project set up - project name * database connection type+ Controller, Model or Entity generation - sm generate --model <model_name> - generates a model class - sm generate --entity <entity_name> - generates an entity - sm generate --controller <controller_name> - generates a controller class - sm generate <name> -m -c -e - generates a model, controller and entity - sm generate <name> -m -e - generates a model and an entityNB: The use of the -p flag will allow to write directly the project name, and the use of multiple flags is possible
Improve the sm generate command - write more ergonomic code - allow to add attributes when creating the entity - create a model by exporting the entity - create a entity by exporting the model
+ Mohamed Johnson
+ Djiby Ndiaye
About
CLI specialy designed for ^SamaneMVC@2.0.1
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.