Welcome Guest, Not a member yet? Register   Sign In
Craftsman - Interactive CLI
#1

(This post was last modified: 12-09-2016, 09:32 AM by dsv. Edit Reason: Update links )

Hello community!!

Craftsman is a CLI for Codeigniter 3.0 using Symfony Console component. Provides a number of helpful commands for your use while developing your application.

The generation command provides a variety of generators to speed up your development process:
  • Controllers
  • Models
  • Views
  • Migrations
  • Seeds

The seeder command uses a simple method of seeding your database with test data using seed classes.

The migration command shows the possible scenario (up/down) before running the scheme selected, here's a list of useful commands that you can use:
  • check: display the current migration scheme status.
  • latest: migrate to the latest version, the migration class will use the very newest migration found in the migration directory.
  • version: can be used to rollback changes or step forwards programmatically to specific versions.
  • rollback: rollback the last migration operation
  • reset: rollback all migrations
  • refresh: rollback all migrations and run them all again

Demo:

[Image: 95481.png]

Finally here's the documentation of Craftsman:

https://github.com/CI-Craftsman/CLI
Reply


Messages In This Thread
Craftsman - Interactive CLI - by dsv - 08-18-2015, 03:34 AM
RE: Craftsman CLI - by dsv - 04-07-2016, 09:16 AM
RE: Craftsman CLI - by dsv - 07-09-2016, 11:00 AM
RE: Craftsman CLI - by dsv - 12-08-2016, 04:52 PM
RE: Craftsman - Interactive CLI - by dsv - 01-09-2017, 10:51 AM
RE: Craftsman - Interactive CLI - by abmcr - 02-05-2017, 10:08 AM
RE: Craftsman - Interactive CLI - by dsv - 02-20-2017, 02:08 PM
RE: Craftsman - Interactive CLI - by cvetan - 04-03-2018, 03:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB