kemalyst-generator

Kemalyst command line tool for console, init, generate (scaffolding), and watch kemalyst kemalyst-generator
0.1.0 released
kemalyst/kemalyst-generator
12 2 6
Kemalyst

kemalyst-generator

Rails like command line for kemalyst

Installation

You can build the kgen tool from source:

$ git clone git@github.com:TechMagister/kemalyst-generator.git $ cd kemalyst-generator/ $ shards install $ make

You should now have a bin/kgen file to run.

You can symlink this to a more global location like /usr/local/bin to make it easier to use:

$ ln -sf $(pwd)/bin/kgen /usr/local/bin/kgen

Optionally, you can use homebrew to install.

$ brew tap drujensen/kgen $ brew install kgen

Usage

./bin/kgen --help
kgen [OPTIONS] SUBCOMMAND

Kemalyst Generator

Subcommands:
  console

Options:
  -h, --help     show this help
  -v, --version  show version

Development

TODO:

  • [x] Basic console
  • [ ] Import models, controllers when starting console
  • [ ] Add Generator for models
  • [ ] Add Generator for controllers
  • [ ] Run database console accoding to config/database.yml
  • [ ] Add database migration
  • [ ] Run a sentry instance

Contributing

  1. Fork it ( https://github.com/TechMagister/kemalyst-generator/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

kemalyst-generator:
  github: kemalyst/kemalyst-generator
  version: ~> 0.1.0
License MIT
Crystal 0.20.1+123

Authors

Dependencies 3

  • cli master
    {'branch' => 'master', 'github' => 'mosop/cli'}
  • icr master
    {'branch' => 'master', 'github' => 'TechMagister/crystal-icr'}
  • teeplate
    {'github' => 'mosop/teeplate'}

Development Dependencies 0

Dependents 0

Last synced .
search fire star recently