Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CLI specialy designed for ^SamaneMVC@2.0.1

NotificationsYou must be signed in to change notification settings

LPIX-11/SamaneCLI

Repository files navigation

Codacy Badge

Build:CircleCI

Overview

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 ^_^.

Structure

.  - 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

Commands (using sm or samane)

+ 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

In Sight

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
Author
+ Mohamed Johnson
Contributors
+ Djiby Ndiaye

About

CLI specialy designed for ^SamaneMVC@2.0.1

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp