1.0.0 ā€¢ Published 2 years ago

fluidbm-cli v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

šŸ‘Øā€šŸ’»āš” Fluidbm CLI

A simple CLI to convert your Laravel designs (from Fluidbm) into actual code. It generates production-ready Models, Migrations, Factories, Database seeders.

Fluidbm provides a free interface to design Laravel models in a modern way: dead fast and simple.

šŸŽ‰ Getting started

To get started, you need to design a schema on Fluidbm here

Execute directly

$ npx fluidbm

Install via yarn

$ yarn global add fluidbm-cli

or

$ npm install -g fluidbm-cli

ā„¹ļø Usage

Authentication

In order to interact with CLI, authentication is required:

$ fluidbm auth

  • Proceed to your Fluidbm Account Settings
  • Press on Re-generate token to get a new fresh cli token
  • Paste the token in the terminal
  • You're now authenticated āœ…

Exporting to a Laravel project

To add your Fluidbm design to your existing Laravel project, similar to git, you have to copy it using the clone command

$ fluidbm clone [FLUIDBM_PROJECT_URL] or [FLUIDBM_PROJECT_ID]

Once successfully cloned, the pull command can be used at any time to sync the changes done on the design.

$ fluidbm pull

It automatically generate the Models, Factories, Seeds and Migrations and add it at the exact place in your existing Laravel project. No need to copy paste files manually....

Sync design changes

$ fluidbm pull

āš–ļø Terms & Conditions

By using Fluidbm CLI, you agree to the terms & conditions, and our privacy policy. Please avoid sending too many requests to maintain higher availability. The CLI interacts with Fluidbm API, that might collect and store your IP for security reasons.

ā¤ļø Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

āš–ļø License

This project is licensed under the MIT license

Ā© 2022 Franz Nkemaka